hi Tapani Tarvainen,

sorry for interrupt you. I searched a your mail in gnu-gcc maillist.
http://gcc.gnu.org/ml/gcc/2002-01/msg00062.html

you said you have installed gcc 3.0.3 in HP-UX 11.11,
but I really wasn't successfull on it. my step:

export CC=/opt/hp-gcc/bin/gcc  (the gcc is binary gcc-3.3.6 or use
"/opt/ansic/bin/cc")
export CFLAGS="-D_HPUX_SOURCE"

../configure --disable-nls --disable-threads
--prefix=/usr/local/gcc-3.0.1 --with-as=/usr/local/bin/as
--with-ld=...  --disable-hecking --enable--long-long
--host=hppa2.0w-hp-hpux11.11 --enable-languages=c,c++
make bootstrap

(the as is from binutils, but haven't ld)

waiting for about 20mins. the error is:
"
/usr/ccs/bin/ld: Unsatisfied symbols:
   __main (first referenced in gengenrtl.o) (code)
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
"
it seems, the problem with system's ld, but the ld of binutils don't
support hppa2.0w-hp-hpux11.11 .

could you pls help me on that. I'm very appreciated to you.

-- 
Thanks and Best Regards,

Ma GuoLiang (马国良)
Tel: (86-10)82782244-2392
http://www.papachong.org/
Internet Email: [EMAIL PROTECTED], [EMAIL PROTECTED]

Reply via email to