In article <98ln0a$[EMAIL PROTECTED]>,
Dan Mosedale <[EMAIL PROTECTED]> wrote:
>[adding .unix and .builds to the Newsgroups: line, in the hope that
>this will reach a bigger audience of solaris gcc hackers]
>
>"Nelson B. Bolyard" <[EMAIL PROTECTED]> writes:
>> 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?

After some browsing of the gcc lists, I think it's -m64.  It's not clear if
this is in 2.95.2 or just in 3.0-to-be, though.

-- 
Jonathan Lennox
[EMAIL PROTECTED]


Reply via email to