User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2 There are a couple of problems. NSPR/NSS use _gcc in the OBJDIR name which causes those files not to be found when using the "external" build method (i.e. configure --with-nss then build). In addition, for 64 bit platforms, the -m64 flag needs to be passed to the compiler. Reproducible: Always
Created attachment 182696 [details] Allow use of gcc on Solaris This is the minimal work required to make it work at all. Note that you have to pass in CC=gcc CXX=g++ CCC=g++ to the configure command environment in order for the build to use gcc, and you have to define NS_USE_GCC=1 in the gmake command.
Created attachment 182711 [details] clean up of previous diff
Checking in mozilla/directory/c-sdk/build.mk; /cvsroot/mozilla/directory/c-sdk/build.mk,v <-- build.mk new revision: 5.17; previous revision: 5.16 done Checking in mozilla/directory/c-sdk/configure; /cvsroot/mozilla/directory/c-sdk/configure,v <-- configure new revision: 5.26; previous revision: 5.25 done Checking in mozilla/directory/c-sdk/configure.in; /cvsroot/mozilla/directory/c-sdk/configure.in,v <-- configure.in new revision: 5.27; previous revision: 5.26 done Checking in mozilla/directory/c-sdk/config/SunOS5.mk; /cvsroot/mozilla/directory/c-sdk/config/SunOS5.mk,v <-- SunOS5.mk new revision: 5.4; previous revision: 5.3 done