sjtu wrote: > I test a simple hello.c > #include <stdio.h> > main() { printf("Hello");} > > $ gcc -o hello hello.c > hello.c:6:2: warning: no newline at end of file > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc. > o)(.text+0x52): undefined reference to > `___RUNTIME_PSEUDO_RELOC_LIST_END__' > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(pseudo-reloc. > o)(.text+0x59): undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__' > collect2: ld returned 1 exit status
This looks questionable: Package Version ... gcc 3.3.1-3 gcc-core 3.3.3-3 gcc-g++ 3.3.3-3 You should really have the same version of all those packages. You're also using quite old versions of rather important packages: ash 20020131-1 binutils 20011002-1 cygwin 1.5.12-1 (and many others) Try updating your Cygwin packages to something current. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/