You should also make certain your version of GCC predefines `sun'.
If needed edit
/usr/local/lib/gcc-lib/*/*/specs, and modify the
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
NO, if you are using GCC.
ProWorks does 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
c++filt pointing respectively to the actual
/usr/ccs/binat the front of your PATH. There are known problems with some GNU replacements for the utilities found there. So the
/usr/ccs/binversions of these programs must be found before any possible GNU versions. (Most notably GNU '
ar' does not work during the build).