Re: gcc newbie question

2001-12-05 Thread Pavel Tsekov
Myriam Abramson wrote: > > thanks so much. I'm always there. > > One more thing: I get an undefined reference to WinMain@16. What do I > am missing? Read the FAQ on cygwin.com - it contains an answer to your question. There are also many ather usefull topics covered in it :) -- Unsubscribe inf

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 please post to the

Re: gcc newbie question

2001-12-04 Thread Pavel Tsekov
Myriam Abramson wrote: > > Hi! > > I need to make a dll. > > I do > gcc -Wl, shared -o foo.dll foo.o ^ +-+ Is this a space here ? -+ Remove it! :) > > But I get the following error: > > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld

Re: gcc newbie question

2001-12-04 Thread Pavel Tsekov
Myriam Abramson wrote: > > 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 stat

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