Mercurial > sdl-ios-xcode
view .hgignore @ 5029:5d7d48157be7
Greg Jandl to SDL
I did some digging, and I think I've found a better solution. By
including some additional .m4 macros in the acinclude directory
(http://www.gnu.org/software/autoconf-archive/ax_check_compiler_flags.html,
http://www.gnu.org/software/autoconf-archive/ax_gcc_archflag.html and
http://www.gnu.org/software/autoconf-archive/ax_gcc_x86_cpuid.html)
then using the patch below (same as previous patch + one line change
to configure.in), SDL will build correctly out of the box.
The arch can then be overridden by --with-gcc-arch=<arch> (most will
probably want to build with i686 there for general distribution) or
--without-gcc-arch, to disable setting the arch all together.
On my Atom netbook, I get -march=PentiumPro by default, which works
great, as does --with-gcc-arch=i686.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 18 Jan 2011 22:40:45 -0800 |
parents | 7b1d35d98294 |
children |
line wrap: on
line source
syntax:glob aclocal.m4 autom4te* config.cache config.log config.status configure libtool Makefile sdl-config SDL.spec SDL.qpg build build-deps VisualC VisualCE # for Xcode *.orig *.swp *.tmp *.rej *~ *.o *.mode1* *.model* *.perspective* *.perspective* *.pbxuser (^|/)build($|/) .DS_Store sdl.pc include/SDL_config.h include/SDL_revision.h test/aclocal.m4 test/autom4te* test/config.cache test/config.log test/config.status test/configure test/Makefile test/SDL.dll test/stdout.txt test/stderr.txt test/checkkeys test/graywin test/loopwave test/testalpha test/testatomic test/testaudioinfo test/testbitmap test/testblitspeed test/testcdrom test/testcursor test/testdraw2 test/testdyngl test/testdyngles test/testerror test/testeyes test/testfile test/testfill test/testgamma test/testgesture test/testgl test/testgl2 test/testgles test/testhaptic test/testhread test/testiconv test/testime test/testintersections test/testjoystick test/testkeys test/testloadso test/testlock test/testmmousetablet test/testmultiaudio test/testoverlay test/testoverlay2 test/testpalette test/testplatform test/testpower test/testresample test/testsem test/testsprite test/testsprite2 test/testspriteminimal test/testtimer test/testver test/testvidinfo test/testwin test/testwm test/testwm2 test/threadwin test/torturethread test/*.exe test/*.dSYM