On Fri, Apr 4, 2008 at 7:24 AM, Vincent Torri <[EMAIL PROTECTED]> wrote:
> that order is important only on Windows (gcc for windows). On linux, ou can
> put the static libs in any order you want. If I'm not mistaken, the problem
> is the format of the executable files (ELF on linux and COFF or a v
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
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
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 option and the input file. Moving it
> after the
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
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
Hi,
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-wince-mingw32ce/lib -lws2
-o ipvideo.exe ipvideo.c
The result is a