The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Mozilla on Solaris FAQ
  1. Patches needed for Solaris 2.6
  2. What compiler should I use?
  3. How do I switch between two compilers?

  1. Patches needed for Solaris 2.6
    • Fix for undefined symbol _XlcCompileResourceList at runtime:"
      ([Thanks to mhw@mft.co.uk]
      This looks like SunSolve bug report #4239074, no patch, suggested workaround:
      Edit the file : /usr/openwin/lib/locale/iso8859-1/XI18N_OBJS
        Remove the line 
        < XOM     xomEuro            _XomGenericOpenOM # XOM_open
        Add the line 
        > XOM     common/xomLTRTTB   _XomGenericOpenOM # XOM_open
      
      See 17221 for more discussion.


    • Fix for Wrong Architecture error on startup:
      Solaris 2.6 needs a recent patch, we haven't tracked this down yet, but the latest jumbo patch should fix this.

  2. What compiler should I use?
    There are 4 compilers that are known to work: gcc-2.7.2.3, egcs, WS4.2, WS5.0. They all have trade-offs and there is no clear leader right now. Tinderbox is currently running a gcc-2.7.2.3 build, some Solaris contributors are using the Workshop 4.2 compiler with some success.
    Compiler Good Bad Notes
    gcc 2.7.2.3
  3. Classic compiler, lots of support on many platforms.
  4. Purify support
  5. Weak C++ support, defines LCD for tinderbox right now. More-recent versions not rock solid yet.
    egcs
  6. Benefits from linux coverage.
  7. No purify
  8. Can't step in debugger
  9. WS4.2 Purify support $$ Picky compiler, some bugs, mostly worked-around with autoconf.
    WS5.0
  10. Purify support
  11. Built-in preformance tools
  12. $$ Some 4.2 bugs fixed, some new ones.

  13. How do I switch between two compilers?
    If both a gnu compiler and non-gnu compiler are in your path, the gnu compiler wins the config test. To override this, or to pick from among several compilers you have in your path, set the environment variables CC and CXX to point to the compiler you want to use:
      # Example to override gcc install with WS5.0
      setenv CC  /usr/local/workshop/SUNWspro/bin/cc
      setenv CXX /usr/local/workshop/SUNWspro/bin/CC
      ./configure
    

Chris McAfee
Last modified: Tue Nov 23 16:32:19 PST 1999
Copyright © 1998-1999 The Mozilla Organization.
Last modified November 23, 1999.