This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
fail to compile "hello,world" toy
- From: "Fei, Xiu Dong (Xiudong)" <feixd at lucent dot com>
- To: "'gcc at gnu dot org'" <gcc at gnu dot org>
- Cc: "Fei, Xiu Dong (Xiudong)" <feixd at lucent dot com>
- Date: Mon, 4 Mar 2002 13:18:02 +0800
- Subject: fail to compile "hello,world" toy
Hi,
Recently my administrator updated g++ from 2.95.2 to 3.0.4 on hpux11. When I
try to compile the toy "hello, world" using "g++ hello.cc", g++ complains as
follows:
/usr/ccs/bin/ld: Unsatisfied symbols:
__gxx_personality_sj0 (first referenced in /var/tmp/ccLgd8Cq.o) (code)
collect2: ld returned 1 exit status
When I try to use "g++ hello.cc -lsupc++", g++ works well. However, it costs
me lots of time to generate a.out. Is there any tricks on hpux11? Or
anything wrong with installment?
Thanks,
Xiudong