Boost logo

Boost-Build :

From: Noel Belcourt (kbelco_at_[hidden])
Date: 2006-06-21 19:24:36

On Jun 19, 2006, at 1:01 AM, Vladimir Prus wrote:

> On Sunday 18 June 2006 04:02, Tomas Puverle wrote:
>> In the sun.jam toolset file, I see the following code (this is HEAD in
>> CVS):
>> flags sun.compile OPTIONS <optimization>speed : -fast -xarch=generic ;
>> Could you remove the -xarch=generic, please? There are 2 reasons:
>> 1) When speccifying an architecture using -xarch/-xtarget, it needs
>> to
>> come before the compilation type (e.g. -fast) flags

I think this is incorrect. On the Sun, -fast will set or modify
architecture specific settings.

 From the Sun CC man page under the -fast description...


                example% CC -xarch=v9 -fast


                example% CC -fast -xarch=v9

So we always want -fast to precede architecture specific options like
-xarch and -xtarget on the command line.

-- Noel

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at