Getting egcs to find GNU as on hpux 10.20
Jeffrey A Law
law@cygnus.com
Tue Dec 2 18:18:00 GMT 1997
In message <Pine.LNX.3.96.971126191439.1167A-100000@jaddams.csw.uic.edu>you w
rite:
> Hi,
>
> I attempted to compile egcs-971122 on my hpux 10.20 machine at work.
> I have GCC 2.7.2.3 installed in /opt/gcc/bin and GNU as installed in
> /opt/binutils/bin (which comes before /usr/ccs/bin, where the HP assembler
> is, in my path).
The correct way to do this is to configure gas/binutils with the same
--prefix option as you configure egcs with, then build & install
gas/binutils.
Doing so will put the assembler in a location where egcs will find
it before any system assembler. There's other less graceful ways
to do this, but I wouldn't recommend them.
jeff
More information about the Gcc
mailing list