Sun's workshop compilers define these 3 command line options (among others)
for different application binary architectures:
-xarch=v8 32-bit instructions, 32-bit ABI & libs
-xarch=v8plus 64-bit instructions, 32-bit ABI & libs
-xarch=v9 64-bit instructions, 64-bit ABI & libs
NSS's "bignum" package is built all 3 ways with workshop. It is built with
both v8 and v8plus for running in 32-bit ABI programs, and with v9 for
64-bit ABI programs.
I'm trying to figure out how to build it all 3 ways with gcc.
AFAIK, gcc has the following equivalents to those workshop options:
Workshop gcc 2.95.2 gcc 2.7.2.1
-------- ------------- -----------
-xarch=v8 -mcpu=v8 -mv8
-xarch=v8plus -mcpu=v9 (!) ????? -mv8+ and -mv8plus do not work
-xarch=v9 ????? ?????
My questions are:
1. what is the gcc equivalent for Workshop's -xarch=v9?
2. Do mozilla developers expect mozilla makefiles to work with all these
different versions of gcc? or just the newer one? or ??
--
Nelson Bolyard Sun / Netscape Alliance
Disclaimer: I speak for myself, not for Netscape