This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
help pls, about gcc-3.0.1 on HP unix
- From: "爬爬虫" <webminster at gmail dot com>
- To: tt at mit dot jyu dot fi
- Cc: gcc at gcc dot gnu dot org, janis187 at us dot ibm dot com
- Date: Fri, 14 Dec 2007 14:00:23 +0800
- Subject: help pls, about gcc-3.0.1 on HP unix
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: webminster@gmail.com, papa_chong@hotmail.com