You should also make certain your version of GCC predefines `sun'.
If needed edit /usr/local/lib/gcc-lib/*/*/specs
, and modify the
*predefines:
line.
On SPARCs, regardless of the compiler you use, ensure it generates 32-bit binaries. At this time, 64-bit binaries will probably not work.
It is recommended that you set ThreadedX in ~xc/config/cf/host.def
to
NO, if you are using GCC.
Sun's compilers do not have this problem.
Whether this behaviour still exists with newer GCC's has not been verified.
You might need to setup a /opt/SUNWspro/bin directory containing symbolic links
named cc
, CC
, and c++filt
pointing respectively to the actual
gcc
, g++
and c++filt
commands.
/opt/SUNWspro/bin
/usr/ccs/bin
at the front of your PATH.
There are known problems with some GNU replacements for the utilities found
there.
So the /usr/ccs/bin
versions of these programs must be found before
any possible GNU versions.
(Most notably GNU 'ar
' does not work during the build).