Home > Solaris, Sun, Sun Studio, X2100 > Update to the 32bit vs 64bit problems

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

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..

Solaris, Sun, Sun Studio, X2100 , , ,

  1. April 16th, 2006 at 01:55 | #1

    I think you meant “32 versus 64″. Unless you consider 32-bit programs a virus. ;-)

  2. April 16th, 2006 at 20:44 | #2

    Heheh Fixed… Not all 32 bit programs are virus’ ;-)

  1. No trackbacks yet.
Comments are closed.