Notes on compiling systemC on a 64 bit platform

since we are working on the 64 bit salo simulations servers, a few additional steps need to be taken in order to compile systemC such that it can link to the seamless libraries which have been compiled in 32-bit mode.

Follow the directions in INSTALL, with the following exceptions:

0. execute the command "module load tww/gcc/3.4.4"

1. set CXX and CC to "g++ -m32" instead of just "g++", also set CFLAGS to "-m32" using setenv like:

   setenv CXX "g++ -m32" 
   setenv CC "g++ -m32"
   setenv CFLAGS -m32
   setenv CXXFLAGS -m32  

2. run the configuration script with the command line argument: "--build=i686-unknown-linux-gnu"

3. After running the configuration, edit the Makefile in objdir/src/sysc/qt, changing the line "AS = as" to "AS = as --32"

4. the group project directory is located "/nokia/sa_nmp/groups/armotd/"

ARMO/Compiling SystemC (last edited 2007-07-26 18:42:18 by MyronKing)