This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problems linking alloca
- To: "Peter Bienstman" <Peter dot Bienstman at rug dot ac dot be>
- Subject: Re: Problems linking alloca
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 28 May 1998 09:49:07 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <000701bd8a48$c002cf90$0454c19d@pcoptomc1.intec.rug.ac.be>you write:
> After browsing through the pages, I also decided to install gnu sed and gnu
> make first, and use those instead of the HP originals.
Yes. Highly recommended, particularly for hpux10.20.
> Now everything went fine. The only thing that worries me slightly, is the
> huge amount of warnings from cc1 saying that -g is invalid when not using
> GAS. However, the webpages say that 'make bootstrap' should produce GAS
> first, before starting to build the compiler. Also the webpages strongly
> advice using GAS instead of the hp assembler.
That section of the install guide is a little ambigious. It should
be clearer that gas will be built *if* you've added it to the egcs
source tree.
> Should I have installed the binutils first ?
You can install it now and use the gcc option "-mgas" to avoid the
warnings.
If you want to make "-mgas" the default, then reconfigure gcc with
the "--with-gnu-as" option and rebuilt.
jeff