[hatari-devel] Crosscompiling Hatari for GP2X Wiz
Eero Tamminen
oak at helsinkinet.fi
Tue Mar 29 22:12:46 CEST 2011
Hi,
On tiistai 29 maaliskuu 2011, Matthias Arndt wrote:
> It is sad that you fulfill my expectations. Your code is the best and
> all other setups are not valid or outdated or whatever excuse you post
> here.
Well, it was a bit hard to believe that there's a system that's still being
developed for but which has this obsolete version of SDL that nobody's
even interested to update.
Even Atari has a newer version:
http://patrice.mandin.pagesperso-orange.fr/en/port-libs.html
:-)
Are you really sure GP2X doesn't have a newer libsdl?
> What is so difficult to think about backward compatibility or making
> code parts OPTIONAL at compile time?
I checked what SDL versions all Linux distros ship before adding the
functionality needed by Laurent (limiting Hatari window to Desktop size
so that it doesn't crash his X server) and Anders (not changing resolution
as it messes his OSX virtual desktops).
Only distros where one could still find that old version of SDL is
the commercial RedHat Enterprise Linux v4 (+ its commercial Oracle &
free CentOS derivatives) that was released on 2005:
http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux#Life_Cycle_Dates
None of the currently available Fedora, Ubuntu, Debian, SUSE, Mandriva etc
distro versions (e.g. Debian oldstable) have it anymore available and of
course any RHEL distro where new Hatari version would be included will have
new enough SDL version.
> Stop applying the Java "no code has to be optional" approach to portable
> C sources!
As I don't have that obsolete SDL version, I cannot test functionality
for it.
If you want Hatari to have support for SDL versions that nobody else has
ready access to, you're the one that needs to support them and test that
this support works. If that support is really needed and can be added
cleanly to Hatari, there isn't a problem.
According to your comments the code & documentation part should look
something like the attached patch. SDL seems to have macro for checking
for SDL version, so it might be possible that it doesn't need changes to
CMake.
- Eero
PS. The new SDL requirement is not the only thing that had changed in Hatari
since v1.4, Thomas for example removed the support for Autotools & plain
Makefiles (about which I complained a bit at the time :)).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdl.diff
Type: text/x-patch
Size: 2364 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/hatari-devel/attachments/20110329/2ad821db/attachment.bin>
More information about the hatari-devel
mailing list