Problems linking alloca
Jeffrey A Law
law@cygnus.com
Thu May 28 08:50:00 GMT 1998
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
More information about the Gcc-bugs
mailing list