This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Getting rid of -g


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]