Mercurial > sdl-ios-xcode
view INSTALL @ 3415:1756b9569141
Adam Strzelecki to SDL
Actually after my patch commited in r4928 MinGW configure seems to generate broken Makefile due MSYS bash bug. (Attaching cure/patch below)
The problem is that:
TEST=`echo 'one\\
two\\
three\\'`
echo "$TEST"
Should echo:
one\
two\
three\
Does it on Linux, Mac.. all UNIX but not on MSYS (MinGW) which outputs:
one\two\three\
(new lines removed, probably it doesn't like backslashes)
Probably this bug should be submitted to MSYS team, but not waiting till MSYS gets it fixed (they have very slow release cycles) here goes simple cure...
My patch simply replaces single quoted SED rules where we needed newlien injection with double quoted ones.
Tested on Mac, Linux & MinGW. Please review it ASAP coz this may be showstopper for everybody compiling with MinGW.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 28 Oct 2009 04:27:50 +0000 |
parents | 0a45995a7fc3 |
children | 00e7c6b7eb03 |
line wrap: on
line source
To compile and install SDL: 1. Run './configure; make; make install' If you are compiling for Windows using gcc, read the FAQ at: http://www.libsdl.org/faq.php?action=listentries&category=4#42 If you are compiling using Visual C++ on Win32, you should read the file VisualC.html 2. Look at the example programs in ./test, and check out the HTML documentation in ./docs to see how to use the SDL library. 3. Join the SDL developer mailing list by sending E-mail to sdl-request@libsdl.org and put "subscribe" in the subject of the message. Or alternatively you can use the web interface: http://www.libsdl.org/mailing-list.php That's it! Sam Lantinga <slouken@libsdl.org>