Changeset 947


Ignore:
Timestamp:
Sep 11, 2011, 12:37:15 AM (12 years ago)
Author:
sam
Message:

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.

Location:
trunk
Files:
5 added
3 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/build/bitten.xml

    r945 r947  
    66  </step>
    77  <step id="bootstrap" description="Bootstrap build system">
    8     <sh:exec file="sh" args="-c ./build/lol-build bootstrap ${platform}"/>
     8    <sh:exec file="./build/lol-build" args="bootstrap ${platform}"/>
    99  </step>
    1010  <step id="configure" description="Configure tree">
    11     <sh:exec file="sh" args="-c ./build/lol-build configure ${platform}"/>
     11    <sh:exec file="./build/lol-build" args="configure ${platform}"/>
    1212  </step>
    1313  <step id="build" description="Build tree">
    14     <sh:exec file="sh" args="-c ./build/lol-build build ${platform}"/>
     14    <sh:exec file="./build/lol-build" args="build ${platform}"/>
    1515  </step>
    16   <step id="test" description="Run tests">
    17     <sh:exec file="sh" args="-c ./build/lol-build test ${platform}"/>
     16  <step id="check" description="Run tests">
     17    <sh:exec file="./build/lol-build" args="check ${platform}"/>
    1818  </step>
    1919  <step id="clean" description="Clean tree">
    20     <sh:exec file="sh" args="-c ./build/lol-build clean ${platform}"/>
     20    <sh:exec file="./build/lol-build" args="clean ${platform}"/>
    2121  </step>
    2222</build>
  • trunk/build/lol-build

    r946 r947  
    7171            fi
    7272            LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/i686-w64-mingw32"
     73            LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib/i686-w64-mingw32"
    7374            ;;
    7475        windows-amd64)
     
    8384            fi
    8485            LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/x86_64-w64-mingw32"
     86            LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib/x86_64-w64-mingw32"
    8587            ;;
    8688    esac
     
    111113            CPPFLAGS="$CPPFLAGS -I$PWD/contrib/gtk-2.22.1/include/atk-1.0"
    112114            CPPFLAGS="$CPPFLAGS -I$PWD/contrib/gtkglarea-2.0.1/include"
    113             LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib"
    114115            LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-image-1.2.10/lib"
    115116            LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-mixer-1.2.11/lib"
  • trunk/contrib/NOTES

    r944 r947  
    33#####################
    44
     5
    56Glew
    67----
    78
    8 Download page: http://sourceforge.net/projects/glew/files/glew/1.7.0/glew-1.7.0.tgz/download
     9Download page: http://sourceforge.net/projects/glew/files/glew
    910
    1011- fix config/Makefile.linux-mingw32 and config/Makefile.linux-mingw64 to
     
    2122- copy lib/*.a in the contrib directory as *.lib
    2223
     24
     25SDL
     26---
     27
     28Download page: http://www.libsdl.org/release/
     29
     30Win32:
     31- just take the pre-compiled binaries from upstream
     32
     33Win64:
     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
     42SDL_Image
     43---------
     44
     45Download page: http://www.libsdl.org/projects/SDL_image/release/
     46
     47Hard to do, requires libjpeg, libtiff, libpng, zlib...
     48
     49
     50SDL_Mixer
     51---------
     52
     53Download page: http://www.libsdl.org/projects/SDL_mixer/release/
     54
     55Hard to do, requires libogg, libvorbis, mikmod, libsmpeg...
     56
Note: See TracChangeset for help on using the changeset viewer.