[Cegcc-devel] Linker doesn't find winsock

2008-04-01 Thread Tijl Vercaemer
2008/3/31, Danny Backx <[EMAIL PROTECTED]>: > I can compile it with : > arm-wince-mingw32ce-gcc -o echo.exe echo.c -lws2 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 option

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

2008-04-01 Thread Danny Backx
On Mon, 2008-03-31 at 16:26 +0200, Tijl Vercaemer wrote: > I'm trying to compile a simple application that uses winsock2. I'm > using arm-wince-mingw32ce-gcc version 0.51.0 (from the > mandriva-*.tar.gz downloads) on Linux. > > This is what I do: > arm-wince-mingw32ce-gcc -L/opt/mingw32ce/arm-winc