Ender:/tmp # i386-pc-cygwin-g++ -o test.exe test.cpp
/root/cross/i386-pc-cygwin/lib/libcygwin.a(pseudo-reloc.o)(.text+0x49): undefined reference to `__RUNTIME_PSEUDO_RELOC_LIST__'
/root/cross/i386-pc-cygwin/lib/libcygwin.a(pseudo-reloc.o)(.text+0x51): undefined reference to `__RUNTIME_PSEUDO_RELOC_LIST_END__'
collect2: ld returned 1 exit status
Ender:/tmp #
libcygwin.a and libg.a both contain undefined references to those symbols...
$ for f in `find . -name '*.a'`;do nm $f 2>/dev/null |grep PSEUDO_RELOC_LIST && echo $f;
done
U ___RUNTIME_PSEUDO_RELOC_LIST_END__
U ___RUNTIME_PSEUDO_RELOC_LIST__
./libcygwin.a
U ___RUNTIME_PSEUDO_RELOC_LIST_END__
U ___RUNTIME_PSEUDO_RELOC_LIST__
./libg.a
Can anyone tell me what eventually resolves those symbols in a normal cygwin(not cross) compile? Or better, if you know how I can fix this in my cross compiler ;)
-Tim
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/