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/ Start rewriting libtool OR Be brave and work around this by

cd /usr/sfw/lib ; mv ; ln -s amd64/

Then watch and enjoy. Don't forget to restore /usr/sfw/lib/

FAQ_Solaris_64_bit (last edited 2008-05-23 20:02:34 by ip171-64-210-87)