Last change
on this file since 947 was
947,
checked in by sam, 11 years ago
|
build: add a Win64 build of libSDL. Useless for now, because SDL_Image
and SDL_Mixer are needed and are a lot harder to build.
|
File size:
1.1 KB
|
Line | |
---|
1 | ##################### |
---|
2 | # Building contribs # |
---|
3 | ##################### |
---|
4 | |
---|
5 | |
---|
6 | Glew |
---|
7 | ---- |
---|
8 | |
---|
9 | Download page: http://sourceforge.net/projects/glew/files/glew |
---|
10 | |
---|
11 | - fix config/Makefile.linux-mingw32 and config/Makefile.linux-mingw64 to |
---|
12 | get the right compiler and linker executable names. |
---|
13 | |
---|
14 | - make SYSTEM=linux-mingw32 |
---|
15 | - i686-w64-mingw32-ranlib lib/*.a |
---|
16 | - copy lib/*.a in the contrib directory as *.lib |
---|
17 | |
---|
18 | - make clean |
---|
19 | |
---|
20 | - make SYSTEM=linux-mingw64 |
---|
21 | - x86_64-w64-mingw32-ranlib lib/*.a |
---|
22 | - copy lib/*.a in the contrib directory as *.lib |
---|
23 | |
---|
24 | |
---|
25 | SDL |
---|
26 | --- |
---|
27 | |
---|
28 | Download page: http://www.libsdl.org/release/ |
---|
29 | |
---|
30 | Win32: |
---|
31 | - just take the pre-compiled binaries from upstream |
---|
32 | |
---|
33 | Win64: |
---|
34 | - ./configure --host=x86_64-w64-mingw32 |
---|
35 | - deactivate NONAMELESSUNION in src/video/windx5/directx.h |
---|
36 | - make -j6 |
---|
37 | - copy build/libSDLmain.a as SDLmain.lib |
---|
38 | - copy build/.libs/libSDL.a as SDL.lib |
---|
39 | - copy build/.libs/SDL.dll as SDL.dll |
---|
40 | |
---|
41 | |
---|
42 | SDL_Image |
---|
43 | --------- |
---|
44 | |
---|
45 | Download page: http://www.libsdl.org/projects/SDL_image/release/ |
---|
46 | |
---|
47 | Hard to do, requires libjpeg, libtiff, libpng, zlib... |
---|
48 | |
---|
49 | |
---|
50 | SDL_Mixer |
---|
51 | --------- |
---|
52 | |
---|
53 | Download page: http://www.libsdl.org/projects/SDL_mixer/release/ |
---|
54 | |
---|
55 | Hard to do, requires libogg, libvorbis, mikmod, libsmpeg... |
---|
56 | |
---|
Note: See
TracBrowser
for help on using the repository browser.