Posts tagged: SDL

SDL_image

By Joseph Misra, September 7, 2009 4:15 pm
env CC='/usr/bin/gcc-4.0' CFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386' CPPFLAGS='-I/sw/include' LDFLAGS='-arch i386 -L/sw/lib' ./configure --prefix=/sw --without-x

SDL 1.2.13 + OSX 10.6

By Joseph Misra, September 3, 2009 5:21 pm

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.

Panorama theme by Themocracy