SDL 1.2.13 + OSX 10.6
I’ve been struggling with this for the last 24 hours, here is the solution I eventually found:
env CC=’/usr/bin/gcc-4.0′ CFLAGS=’-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386′ LDFLAGS=’-arch i386′ ./configure –prefix=/sw –without-x
A note about this – the quotes here are all single quotes. WordPress seems to change that to something else.
how to apply this? When I enter this in terminal I get
“env: /Developer/SDKs/MacOSX10.5.sdk: Permission denied”
Oh make sure it’s all on one single line.
got it, the problem was that you used ยด and not ‘
At least it got a bit further for me only to error with “env: ./configure: No such file or directory” (I did change that to ./configure –prefix=/opt/local –without-x since I’m using macports.
Oh well…
Oh it’s this darn wordpress plugin, they are all supposed to be normal single quotes.
he he and forget about the ./configure problem… I was too stupid to cd to the build dir…
Still SDL won’t build for me, though..
I’ll wait for the macports guys to fix it…
can 64-bit (x86_64) applications use SDL?
Not yet, there’s a thread about it at darwinports.