Update to the 32bit vs 64bit problems
April 15th, 2006
After reading the entire CC man page for Sun Studio 11, I think I had figured out what was wrong. All was well until I got to compileing OpenSSL.. It appears that OpenSSL does not pay attention to the CFLAGS environment variable. But if you run
Configure solaris-x86-cc
instead of the “config” command it will force it to compile it as 32 bit instead of 64 bit which the config command does.
I also set these environment variables to force 32 bit compile on some other stuff:
CC=/opt/SUNWspro/bin/cc
CFLAGS=-fast -xarch=generic
CXXFLAGS=-fast -xarch=generic
CFLAGS=-fast -xarch=generic
CXXFLAGS=-fast -xarch=generic
Not more than 10 minutes ago while I was doing this, Chris Quenelle posted an Article about 32 versus 64 bit programs that explains some more of the issues..

I think you meant “32 versus 64″. Unless you consider 32-bit programs a virus.
Heheh Fixed… Not all 32 bit programs are virus’
…