“Martin P. Kalitis” wrote:
“Stanislaw Stepien” wrote in message
i would like to know if it is possible to create static linked
win32 application using cross compiler.
I think you’ll find that doing this violates the terms of usage for the SDL
library. Just include SDL.dll in your installation script. Size wise there
is little difference and it also alows you to keep with the spirit of the
agreement. Better still you could release your source for your application
so other may learn from what you have done.
Actually if Stanislaw wants to statically link with SDL, it doesn’t mean
he wants to violate the LGPL.
I’m writing few games and demos, which I’m going to release under GPL,
but I also want to provide binaries for download, for people who can’t
or don’t want to build everything from sources, two for every platform,
dynamically and statically linked with SDL (plus
SDL_{image,net,mixer,sound} and whatever else I’ll use).
I don’t have any Windows, BeOS, MacOS, Solaris, IRIX or FreeBSD boxes
but I want to build (dynamically and statically linked) binaries for
them, cross compiling under Linux.
Where can I find all the info to learn how to cross compile SDL
applications to platforms supported by SDL? (I’m thinking especially
about Windows, Mac and BeOS). Or maybe it’s a better idea to find
someone with native Win and Mac compilers? Anyway, it could useful to
put few links on libsdl.org to such informations, as one of the main
strengths of SDL is platform independence.
And what are the most important things to keep in mind while writing SDL
application, to make it as portable as possible, to work on every
platform where SDL is available?
Btw, you’ve done a really great job with SDL, thanks!