Andreas Schiffler wrote:
Phew, must have stepped into something here …
People, I am in now way advocating to drop Linux or develop for windows
only or any other “horrible” idea. I’ve using Linux since kernel 1.0.9
and never looked back. I’ve written a commercial Windows app (using SDL
btw) that went to 100K desktops without a single copy of Windows around
during development (just for testing and NSIS runs). That was done BTW
by cross-compiling from Linux under a souped-up xmingw. In fact I found
this method of creating a windows app to be even better than using mingw
or cygwin on a windows box because of the better shell, editors,
tool-chain and general stability of Linux. It even works with “pmake”.
So, yes - by all means - screw wine and do a native port.
But be prepared to spend time and effort to solve the issues that come
with supporting multiple platforms … SDL does not solve them all,
just some of them. And as far as the app distribution is concerned -
either go fully open source, so someone acting as a maintainer can take
care of packaging it for the individual distros - or be prepared to
spend even more time on creating and managing your own binary
distribution system for the somewhat difficult installation target that
Linux in its various incarnations happens to be.
As for which distribution to use? My distro vote goes to Mandriva,
debian and Fedora (in that order).
question: supposed i manage to link all libs i am using statically
(flt, ogg stuff, fltk, openAL, sdl, libcurl), can i suppose my binary to
act well on all different kinds of linux? or is it the case that the
linux distros even differ in the core level libraries (ALSA or whatever
native sound driver, openGL / mesa or what) so much, that i have no
chance making a single binary? something similiar to windows, where you
cannot thrust on having a certain directx version (thanks god i’m not
using this proprietary stuff) installed?
the reason why i’m returning to this point is that i’m still want to
have that single binary. with appended resources to the end of the exe.
of course, i still can provide sources only, but i hoped to do this as a
last resort.
another thing: you talked about making it compatible to WINE. any ideas,
what things / libs to avoid (my game was reported to crash inside WINE)
so it would run? by the way: i like your idea: first make it compatible
to wine (hopefully just removing some quirks), and then going the long
road to porting it to linux.
anyway - thanks for all your posts and suggestions.>
On Tuesday 16 January 2007 09:16, Andreas Schiffler wrote:
Andre,
diversity seems to be the price for the freedom linux gives…
There is even more diversity - maybe just stick with your win32 code!
what a horrible idea … please dont give out this advice anymore
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl