From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Richard Stanton" To: Subject: gcc - no messages re unresolved symbols Date: Wed, 23 Feb 2000 16:47:00 -0000 Message-id: <000a01bf7e60$a5f2dba0$524b2080@berkeley.edu> References: <37E16BF0.5CD259F5@jhuapl.edu> X-SW-Source: 2000-02/msg00335.html I'm having an odd problem with gcc (cygwin version 2.95) on my NT machine. If I compile/link a program that has some unresolved symbols, the linker doesn't tell me about them, which makes tracking them down more than a little hard... For example, here's what happens when I compile a program that has a missing main(): [c:\miscprog]gcc -o amput amput.c collect2: ld returned 1 exit status For comparison, here's what happens when I do the same thing on a unix (SunOS 5.6) machine: socrates% gcc -o ttt amput.c -lm Undefined first referenced symbol in file main /usr/local/egcs-1.1.2/lib/gcc-lib/sparc-su solaris2.6/egcs-2.91.66/crt1.o ld: fatal: Symbol referencing errors. No output written to ttt collect2: ld returned 1 exit status socrates% Any idea what's wrong? I'm pretty sure this used to work at one point. Thanks a lot for any suggestions. Richard Stanton -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com