paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] Another question


From: Fabien Marchewka
Subject: Re: [paragui-users] Another question
Date: Mon, 21 Apr 2003 11:15:48 +0200

Hi,
can you explain me how to cross-compile with mingw32. I have to make an apps
which work both on linux and windows with all dll. Perhaps a tutorial
somewhere ?
thanks for your help,
Fabien.

----- Original Message -----
From: "Michael Bartl" <address@hidden>
To: "Paragui" <address@hidden>
Sent: Monday, April 21, 2003 10:14 AM
Subject: Re: [paragui-users] Another question


> On Sun, Apr 20, 2003 at 10:16:29PM -0400, Aaron O Schweiger wrote:
> > Again with mingw32, gcc v3.2, compiling the test/ directory seems to be
a
> > bit difficult.  The default makefile breaks for some reason:
> >
> > C:/usr/lib/libmingw32.a(main.o)(.text+0x7f):main.c: undefined reference
to
> > address@hidden'
> > make: *** [fireworks.exe] Error 1
> >
> > However, I can cure the problem by manually linking:
> >
> > g++ -g -O2 -Wall -o fireworks.exe blob.o main.o -mwindows -lparagui
> > `SDL-config --libs` -lSDL_image -lfreetype -lz -lstdc++ -lphysfs.dll
> >
> > Does something besides SDL define WinMain?  Any help, thanks,
>
> As far as I remember SDL_main is defining WinMain!
>
> btw: If you want to easily cross-compile you should use mingw32 cross
> compiler on linux, not the native win32 port... solved all my problems
> :)
>
> Have fun,
>     Michael
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/paragui-users
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]