Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-03-22 16:24:03


[moving this to jamboost list]

On 2002-03-22 at 02:10 PM, gohmandj_at_[hidden] (Dan Gohman) wrote:

>Attatched is a new version of mipspro-tools.jam .
>
>Along with a few minor changes, this version adds support for selecting
>which ABI (and ISA) to use as a subvariant. It requires the following
>line in features.jam:
>
>feature sgi-abi-isa : n32-mips3 n32-mips4 n64-mips3 n64-mips4 ;
>
>The default, n32-mips3, will work on the most platforms (all modern
>MIPS/IRIX platforms at least). The others are for people that target
>machines that can do mips4 and/or 64-bit binaries and need to use those
>features.

Thanks Dan, but a few questions...

>>From looking at the code, it seems that the ABI and ISA are orthagonal. So
would it not make more sense to have two different features "sgi-abi" and
"sgi-isa". Or is there a reason why you picked the single one instead?

Also choosing the ABI-ISA looks similar to the problem of cross-compilation,
that is telling the single local compiler what "platform" to compile for.
Would it then be preferable to better support cross-compilation instead of
adding more platform specific features? For example we could add an
"architecture" feature, this would map directly to your "sgi-abi-isa"
subvariant.

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk