On Solaris x86_64 the build process does not recognizes the compiler and linker arguments and parameters because they are out-dated. On Solaris systems linker should be Sun linker ( name="CC" ) and not the GNU linker ( name="gcc" ).
On site, I was able to build and test gluegen and jogl w/ gcc on the Solaris platform, np.
Minor changes were required and I will verify this ASAP when the Solaris machine arrives.
Since you can build gluegen/jogl on Solaris w/ gcc
and I see no benefits in favor for SunCC (instead of gcc),
prio is on the bottom, and non blocking but maybe it's an enhancement.
fixed at least w/ 57c6991edb18e70e72a54068420b000d5bcc0772