Q: -fhonor-std / how to include "gas"

N8TM@aol.com N8TM@aol.com
Wed Mar 31 23:46:00 GMT 1999


In a message dated 3/28/99 10:40:01 PM Pacific Standard Time,
girod@stybba.ntc.nokia.com writes:

> AO> Actually, --with-as is not supported by egcs 1.1.*
>  
% ../egcs-1.1.2/configure --prefix=/tools/contrib/HP-
UX/B.10.20/hppa1.1/packages/egcs --enable-shared --enable-haifa --with-
as=/tools/contrib/HP-UX/B.10.20/hppa1.1/bin/as

In that case, you will need links such as

ln -s /tools/contrib/HP-UX/B.10.20/hppa1.1/bin/as /tools/contrib/HP-
UX/B.10.20/hppa1.1/packages/egcs/bin/as

ln -s /tools/contrib/HP-UX/B.10.20/hppa1.1/hppa1.1-hp-hpux10.20
/tools/contrib/HP-UX/B.10.20/hppa1.1/packages/egcs/hppa1.1-hp-hpux10.20

and then

./egcs-1.1.2/configure --prefix=/tools/contrib/HP-
UX/B.10.20/hppa1.1/packages/egcs --enable-shared --enable-haifa --with-gnu-as

The as installed by binutils must appear in some of the special places where
your new compiler installation will be looking for it.  

as: "/tmp/cca07762.s", line 16: error 1052: Directive name not recognized -
NSUBSPA
*** The command 'gcc -o conftest -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

Now it says you are trying to build using a gcc which is configured to use
gnu-as but can't find it.



More information about the Gcc mailing list