Rob Somerville wrote:
 
> what are the best configuration options to use with Workshop 5.0/6.0.

Usually every option works (exceptions below...)... :-)
Sun Workshop creates far better and stable code than any current gcc
version (and is far more picky about C/C++ standard conformance) - but
the "price" for that is that building Mozilla is usually two times
slower than gcc...

> If you are building this way, could you send me your .mozconfig &
> any other variables that are appropriate ?

See http://www.mozilla.org/unix/solaris-build.html

I am building Mozilla5 with Sun Workshop 6 Update 2 EarlyAccess2
(http://access1.sun.com/fortedevprod/) on Solaris 7 (don't forget to
grab the latest set of recommended patches) - which works without
problems (well... you need --disable-ldap for some silly reason...)...

I use the following sequence to build Mozilla:
% mkdir objdir; cd objdir
% export CC=/opt/SUNWspro/bin/cc CXX=/opt/SUNWspro/bin/CC
CFLAGS="-I/usr/include -I/usr/local/include"
% ../configure --with-xprint --with-extensions --enable-mathml
--enable-svg --enable-xsl --enable-optimize --enable-nspr-autoconf
% gmake

--enable-nspr-autoconf is used to avoid that any NSPR code objects are
put into the source tree - which breaks budiling two Mozilla versions
(WS6U2EA2+gcc2.95.1) from the same source tree...

You may use --enable-toolkit=xlib to get rid of the requirement that
GDK/GTK+ libs are needed...

For a version without debugging code you may use --disable-debug
--disable-tests --enable-optimize="-fast" # note that "-fast"
automagically sets "-xarch=v8a" when compiling on UltraSPARC machines,
try "-fast -xarch=v7" to get rid of this issue (sparc v8a code is v8+VIS
extensions - UltraSPARC-only)...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  [EMAIL PROTECTED]
  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-41370 FAX +49 641 99-41359

Reply via email to