Building SDL in 64 bit
before running make, type
$ CFLAGS=-xarch=generic64; export CFLAGS
And then watch as
gcc: language arch=generic64 not recognized
leaves you with nothing. Try:
$ CFLAGS=-m64; export CFLAGS
then watch that fail with a libtool error on 32-bit /usr/sfw/lib/stdc++.so. Start rewriting libtool OR Be brave and work around this by
cd /usr/sfw/lib ; mv libstdc++.so libstdc++.org ; ln -s amd64/libstdc++.so libstdc++.so
Then watch and enjoy. Don't forget to restore /usr/sfw/lib/libstdc++.so
