oh this one is easy.

You need to setup environment variables properly (It's actually documented well 
in CBE/JDS build docs). Some of the typical things to set are:

1. Make sure you have gnu tools before Solaris tools in PATH
2. set CC and CXX

something like this would work (assuming bash shell):

export PATH=/usr/gnu/bin:$PATH
export CC=gcc
export CXX=g++

You can also try using Sun's C/C++ compilers. I have had varies amount of luck 
with that as there's a lot of stuff that just blindly assumes a GNU 
compiler/GNU make
 
 
This message posted from opensolaris.org

Reply via email to