Re: [Cegcc-devel] Linker doesn't find winsock

2008-04-03 Thread Vincent Torri
On Wed, 2 Apr 2008, Carsten Sørensen wrote: On Tue, Apr 1, 2008 at 6:06 PM, Tijl Vercaemer <[EMAIL PROTECTED]> wrote: This works, and it helped me to figure out why my code didn't link. Apparently, the -lws2 option should be at the end of the command. I had my -lws2 in between the -o optio

Re: [Cegcc-devel] Linker doesn't find winsock

2008-04-03 Thread Tijl Vercaemer
2008/4/2, Carsten Sørensen <[EMAIL PROTECTED]>: > That's a general gcc feature, the order of libraries and objects is > important. When gcc sees a library on the commandline, only those > parts of it that have already been referenced by a previous library > or object file are included. In your