This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
collect2 command
- To: <java at gcc dot gnu dot org>
- Subject: collect2 command
- From: Antonio Ake <ake at ecn dot purdue dot edu>
- Date: Thu, 19 Jul 2001 16:13:54 -0500 (EST)
I am not sure about my collect2 command, because when I
tried to add -non_shared. I recieved these errors:
/bin/ld:
Error: Undefined:
_Unwind_Resume
_Unwind_RaiseException
_Unwind_GetDataRelBase
_Unwind_GetRegionStart
_Unwind_GetTextRelBase
_Unwind_SetGR
_Unwind_SetIP
_Unwind_GetLanguageSpecificData
_Unwind_GetIP
isspace
collect2: ld returned 1 exit status
Are these messages normal with non_shared?
What libraries do I need to add?
command:
/usr/users/ake/gcc18/lib/gcc-lib/alphaev56-dec-osf5.0/3.0.1/collect2 -G 8
-O1 -non_shared -o hello /usr/lib/cmplrs/cc/crt0.o
-L/usr/users/ake/gcc18/bin/../lib/gcc-lib/alphaev56-dec-osf5.0/3.0.1
-L/usr/users/ake/gcc18/bin/../lib/gcc-lib
-L/usr/users/ake/gcc18//lib/gcc-lib/alphaev56-dec-osf5.0/3.0.1
-L/usr/lib/cmplrs/cc
-L/usr/users/ake/gcc18/bin/../lib/gcc-lib/alphaev56-dec-osf5.0/3.0.1/../../..
-L/usr/users/ake/gcc18//lib/gcc-lib/alphaev56-dec-osf5.0/3.0.1/../../..
temp2.o temp5.o -lgcc -lc -lgcc -lgcj -lgcjgc -lzgcj -lc -liconv