Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [68.100.60.50] X-Originating-Email: [l0ci AT hotmail DOT com] From: "Tim Renner" To: cygwin AT cygwin DOT com Subject: Cross Compiler and __RUNTIME_PSEUDO_RELOC_LIST__ Date: Mon, 31 Mar 2003 02:47:41 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 31 Mar 2003 07:47:42.0042 (UTC) FILETIME=[CF36CBA0:01C2F759] Alright, I've "successfully"(Untested ;) built a gcc-2.95.3-10 cross compiler on linux from the Cygwin sources, but when linking I get this error: 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/