This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Q: -fhonor-std / how to include "gas"
- To: girod at stybba dot ntc dot nokia dot com, egcs at egcs dot cygnus dot com
- Subject: Re: Q: -fhonor-std / how to include "gas"
- From: N8TM at aol dot com
- Date: Mon, 29 Mar 1999 01:56:20 EST
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.