Date: Wed, 3 Nov 1999 09:46:07 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Nate Eldredge cc: djgpp-workers AT Delorie DOT com Subject: Re: -g vs -s In-Reply-To: <97010109065100.00246@mercury> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 1 Jan 1997, Nate Eldredge wrote: > > Most Makefile's I saw put -g into CFLAGS, so linking is done with -g as > > well. > > Except that in my experience, Makefiles don't use CFLAGS when > linking, they use LDFLAGS instead. Examples, please. Most GNU packages (at least their latest releases) use CFLAGS in linking. Automake generates these Makefiles automatically, so any package that uses Automake will have that. Including Cdecl, for example ;-). I understand that one reason for this is that people are used to say "make CFLAGS=-pg" and expect it to DTRT.