Re: What's up with Solaris builds

Kenneth Herron <[email protected]>
Newsgroups gmane.comp.mozilla.devel.unix
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Reinout van Schouwen wrote:

> Also I don't know how to indicate that I want GTK2 to be used, and if it 
> matters whether to use Forte or GCC.
> 
> I really do hope GTK2 solaris/sparc builds will show up again soon.

I've been building mozilla gtk2 from the trunk on solaris 8/sparc fairly 
regularly. My office hasn't purchased the Forte compiler, so I use gcc 
2.95. My copy of gtk2 comes from the Gnome package that sun distributes. 
My .mozconfig is as follows:

ac_add_options --disable-debug
ac_add_options --disable-installer
ac_add_options --disable-pedantic
ac_add_options --disable-tests
ac_add_options --disable-xft
ac_add_options --enable-crypto
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-js-ultrasparc
ac_add_options --enable-optimize='-Os -mcpu=hypersparc'
ac_add_options --enable-toolkit-gtk2
ac_add_options --with-system-zlib

I've also successfully built the trunk version of firefox with:

. $topsrcdir/browser/config/mozconfig

ac_add_options --disable-debug
ac_add_options --disable-installer
ac_add_options --disable-pedantic
ac_add_options --disable-tests
ac_add_options --disable-xft
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-js-ultrasparc
ac_add_options --enable-optimize='-Os -mcpu=hypersparc'
ac_add_options --with-system-zlib

The system I build and run on is rather old and slow, so these options 
are geared toward building quickly and producing an executable that uses 
less memory.

The forte compiler is reputed to produce better code, so if you have 
access to forte you should probably use that. If you use gcc, you have 
to decide whether you want to use the java plugin or not. The java 
plugin and mozilla have to be built using compatible versions of gcc. 
Java 1.4.1 included a gcc 2.95.x version of the plugin, but no gcc 3.x 
version of the plugin has ever been released for solaris/sparc.

-- 
Kenneth Herron
"Netscape pollution must be eradicated."
     -- Jeff Raikes, Vice president, Microsoft
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.