collect2 command
Antonio Ake
ake@ecn.purdue.edu
Thu Jul 19 14:14:00 GMT 2001
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
More information about the Java
mailing list