Umm, 

    Ok  lets try to be a bit more basic.

    Which server achitecture are you runnnig    SPARC or  X86

    Which Solaris version is it ?   ( uname -a  should tell you ) 
  
    Which compilers   are installed ? 

    /opt/SUNWspro/bin/cc         ?
    /usr/sfw/bin/gcc                   ? 

   is  /usr/bin/cc    symliked to somewhere  ?  
   ls -l  /usr/bin/cc     should tell you 


   For  Sun studio compilers   the options -xtarget  CPUtype and -xarch  
SIMD_type  governs wheter   32 or 64 bit architecture is used  there are many 
possible combinations  of -xtarget -xarch.

   For GCC  -mpcu  CPUTYPE   -march CPUTYPE  does the same job.
 
 
This message posted from opensolaris.org

Reply via email to