Problems install egcs on HP-UX

Jeffrey A Law law@cygnus.com
Wed Jun 30 23:07:00 GMT 1999


  In message < 199906100820.KAA26703@gefion.Hamburg.BAW.DE >you write:

  > ./configure --with-gcc-version-trigger=/home/ak2fberg/unix/packages/egcs-1.
  > 1b/gc
  > c/version.c --host=hppa1.1-hp-hpux10.20 --prefix=/net/gefion/home/ak2fberg/
  > local
  > 2 --with-local-prefix=/net/gefion/home/ak2fberg/local2 --with-local-prefix=
  > /net/
  > gefion/home/ak2fberg/local2/include --with-gxx-include-dir=/net/gefion/home
  > /ak2f
  > berg/local2/include/g++ --with-gnu-gas --norecursion 
First, remove the tons of useless arguments to configure.  All they're going to
do is cause you problems.

./configure --prefix=<somedir> --with-gnu-as



  >   gcc: +n: linker input file unused since linking not done
  >           test -z "-fPIC" || \
  >             /usr/local/bin/gcc -c -ansi -O3 -W -Wl,+n -I. -I./../include  -
  > fPIC  
Ummm, where is -O3 coming from?  What about -Wl,+n?  Those are not normally
part of the build process.  It is entirely possible they're due to your
mis-configuration above.

I strongly recommend you reconfigure and start over.
jeff




More information about the Gcc-bugs mailing list