On Tue, 2005-07-12 at 08:42, Seongbae Park wrote:

> Unfortunately, it's a feature.
> "-fast" is a macro option that expands into several options,
> and the option processing rule (I think this is documented somewhere)
> says that whatever shows up later wins.

It is documented on cc(1) thus:

     Compiling for 64-bit Solaris by several variants of the
     -xarch=v9 option. Note that one of these options must be
     specified even if -xtarget or -fast are also specified.  In
     such a case, the -xarch=v9 option variant must appear AFTER
     any -xtarget or other option that sets -xarch.  For example:

           -xtarget=ultra -xarch=v9

While the example is the for 64 bit SPARC code the implication
is certainly there that the same applies to AMD64 code.

In general my advise would be don't use fast say what you actually
mean.

-- 
Darren J Moffat

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to