Compiling SDL_mixer to a DLL?

Hi all,
I’d like to compile SDL_mixer-1.0.5 to a win32 DLL using mingw32 under
Linux. The reason is I’ve added some functionality to the SDL_mixer lib

  • most notably the ability to retrieve the current position in the MP3
    or MOD being played - and want to test it under Windows before
    submitting patches (that is if anyone wants them :).

I tried: ./configure --host=i386-linux --target=i386-mingw32
–disable-static --enable-shared
and it compiled correctly but playmus and playwave are just the same big
exes with no seperate DLLs.
Is there a way to do this?

Thanks,
Paul.–

Unix is user-friendly. It just chooses its friends carefully.

Hi all,
I’d like to compile SDL_mixer-1.0.5 to a win32 DLL using mingw32 under
Linux. The reason is I’ve added some functionality to the SDL_mixer lib

  • most notably the ability to retrieve the current position in the MP3
    or MOD being played - and want to test it under Windows before
    submitting patches (that is if anyone wants them :).

I tried: ./configure --host=i386-linux --target=i386-mingw32
–disable-static --enable-shared
and it compiled correctly but playmus and playwave are just the same big
exes with no seperate DLLs.
Is there a way to do this?

The next release of SDL_mixer will work well with the new cross-compile
tools available at: http://www.libsdl.org/Xmingw32/

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software