Re: gcc newbie question

2001-12-04 Thread Myriam Abramson
thanks so much. I'm always there. One more thing: I get an undefined reference to WinMain@16. What do I am missing? -- myriam -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documenta

[Pavel Tsekov ] Re: gcc newbie question

2001-12-04 Thread Myriam Abramson
--- Begin Message --- Myriam Abramson wrote: > > Great! that works now. Thanks *so* much. I am getting a bunch of > undefined references however. I usually link this program with -lnsl > and -lsocket but those libraries do not exist so what to do? try adding -lwsock32 :) And pl

gcc newbie question

2001-12-03 Thread Myriam Abramson
Hi! I need to make a dll. I do gcc -Wl, shared -o foo.dll foo.o But I get the following error: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot open : No such file or directory collect2: ld returned 1 exit status ld exists in /bin/ld so what's wrong? Th