WineHQ

SDL Software Development Kit

There is no official "SDL SDK" but you can build one by following the instructions here:

http://www.spacejack.org/games/mingw/mingw-sdl.html

Steps:

1) Install the mingw cross-compiler environment for building windows applications for testing on wine: http://www.winehq.org/site/docs/winedev-guide/cross-compiling-tests

2) Download SDL-devel-1.2.11-mingw32.tar.gz (Mingw32) from http://www.libsdl.org/download-1.2.php , extract them to a folder and install (copy) the headers and libs to your mingw headers and libs locations.

3) run ./configure && make from within the SDL-1.2.11/test directory. This will produce native linux binaries and a Makefile.

4) As an exercise, edit the Makefile so that it will build using your cross-compiler instead of the native linux binaries you want to make windows .exe files! Save it as Make32. Modify it something like this:

 

... (several lines unmodified) ...

CC = i386-mingw32-gcc
EXE = .exe
CFLAGS = -mwindows
LIBS = -lmingw32 -lSDLmain -lSDL

... (several lines unmodified) ...

testgl$(EXE): $(srcdir)/testgl.c
$(CC) -o $@ $? $(CFLAGS) $(LIBS) -lm -lopengl32

... (several more lines unmodified) ...

5) Run make -f Make32 to build the windows .exe versions of the tests.

6) Run the tests on windows, on wine, on cygwin, or wherever you like.
Note* This is just a cross-compiling exercise. You should download and build the windows version of the tests to test wine.

 

Application Details:

Version: SDL 1.2 tests
License:
URL: http://www.libsdl.org
Votes: 0
Latest Rating: Gold
Latest Wine Version Tested: 0.9.28.

Maintainers: About Maintainership

No maintainers. Volunteer today!

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Pretty much all the graphical test .exes work just fine under wine!

What does not

We cross-compiled these tests as an exercise. As expected, the cross-compiled tests that send output to the console will not work unless you downlaoded the proper win32 versions of the tests.

Workarounds

What was not tested


Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Being cross-platform and open source makes SDL a good test suite for showing off wine's compatibility.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentFedora Core 6 x86_64Dec 27 20060.9.28.N/A Yes NoGoldHenry Kroll 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show open bugs

Comments

Comments Disabled

Comments for this application have been disabled because there are no maintainers.
Back