Mercurial > sdl-ios-xcode
view INSTALL @ 5030:6a0803e47c7b
Greg Jandl to SDL
I *think* the patch below works correctly: sdl-config gets the -march
flag and SDL builds fine. Perhaps there's a better way to get the
-march flag into both CFLAGS and SDL_FLAGS w/o dragging along more
cruft, but adding it to BASE_CFLAGS seemed the best bet to my eyes.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 19 Jan 2011 00:07:43 -0800 |
parents | 00e7c6b7eb03 |
children |
line wrap: on
line source
To compile and install SDL: 0. If you have downloaded this from the website, skip to the next step. If you have checked this out from subversion, you'll need to run ./autogen.sh to build the configure script. 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>