Cross compiling

I was wandering if it was possible to build SDL applications in Linux
from Windows. It’s too much trouble to install Windows and install all
the development stuff just to build my program for an OS I don’t use (I
have to show off my game to my friends!). So basically I’d just like to
distribute the program .exe file and the SDL library (.dll), is this
possible. I don’t mind having to re-build gcc and that kind of stuff (I
use Linux From Scratch, you should try it :). Thanks for any help–
Mark A. Nicolosi

I believe mingw can cross-compile for you, not sure beyond that.On Wed, 2002-11-20 at 18:42, Mark A. Nicolosi wrote:

I was wandering if it was possible to build SDL applications in Linux
from Windows. It’s too much trouble to install Windows and install all
the development stuff just to build my program for an OS I don’t use (I
have to show off my game to my friends!). So basically I’d just like to
distribute the program .exe file and the SDL library (.dll), is this
possible. I don’t mind having to re-build gcc and that kind of stuff (I
use Linux From Scratch, you should try it :). Thanks for any help

I was wandering if it was possible to build SDL applications in Linux
from Windows. It’s too much trouble to install Windows and install all
the development stuff just to build my program for an OS I don’t use (I
have to show off my game to my friends!). So basically I’d just like to
distribute the program .exe file and the SDL library (.dll), is this
possible. I don’t mind having to re-build gcc and that kind of stuff (I
use Linux From Scratch, you should try it :). Thanks for any help

I believe mingw can cross-compile for you, not sure beyond that.

look here: http://www.libsdl.org/extras/win32/cross

just get build-cross.sh and everything is done for u
i have successfuly used this with SDL

Nehal

Great googly moogly that’s handy. Thank ye.On Thu, 2002-11-21 at 02:14, Nehal Mistry wrote:

look here: http://www.libsdl.org/extras/win32/cross

just get build-cross.sh and everything is done for u
i have successfuly used this with SDL