This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Getting rid of -g
- To: Manfred Hollstein <manfred dot h at gmx dot net>
- Subject: Re: Getting rid of -g
- From: Roman Lechtchinsky <rl at cs dot tu-berlin dot de>
- Date: Wed, 12 Sep 2001 18:08:03 +0200 (MET DST)
- cc: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, gcc at gcc dot gnu dot org, schwab at suse dot de
On Wed, 12 Sep 2001, Manfred Hollstein wrote:
> > Unfortunately, Cray cc doesn't understand -g0. Besides, I'd rather avoid
> > -g altogether (i.e. for libiberty etc. as well). Do I really have to do
> > this individually for each package?
>
> Put an override of STAGE1_CFLAGS into a host specific file in
> config/<your-target-name>/x-<your-target-name> and then add the
> name of this file to ${tmake_file} in gcc/config.gcc.
Doesn't tmake_file refer to bits specific to the target machine (as
opposed to the build machine)? In other words, doesn't this break
cross-compilation?
> The only package which is compiled using plain cc is libiberty,
Ah, that shouldn't be too difficult then. Thanks.
Bye
Roman