From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roman Lechtchinsky To: Manfred Hollstein Cc: Franz Sirl , gcc@gcc.gnu.org, schwab@suse.de Subject: Re: Getting rid of -g Date: Thu, 13 Sep 2001 01:08:00 -0000 Message-id: References: <3B9F8297.90504901@gmx.net> X-SW-Source: 2001-09/msg00498.html On Wed, 12 Sep 2001, Manfred Hollstein wrote: > The only package which is compiled using plain cc is libiberty, > all other packages will be built using gcc, so there should be no > need to avoid using '-g' for those packages. Regarding libiberty, > you should create a similar config file in the libiberty/config > directory and put suitable code into libiberty/config.table. Nope, this doesn't work because both CFLAGS and LIBCFLAGS (it's the latter which is actually used for compiling libiberty) are overridden by the top-level makefile. I've added a Unicos-specific config file to the top-level config directory and set host_makefile_frag in configure.in appropriately. This seems to work but is this really the right way to do it? Should I additionally do what you suggest to ensure that the correct flags are passed if libiberty is built separately? Bye Roman