Boost logo

Boost-Build :

From: Paul Schmidt (prs_at_[hidden])
Date: 2003-07-16 09:36:57


--- In jamboost_at_[hidden], Rene Rivera <grafik666_at_r...> wrote:
> >So some binaries need to be built for the EE, and some for the IOP.
> I'd say use the <architecture> and <instruction-set> features which
you can
> specify on a per top level target basis. Look at the how the
gcc-tools.jam
> does it to support building for supporting the various CPUs that gcc
> supports.

Hmmm. If I interpret your phrase, "per top level target basis"
correctly, I don't think that helps me. I want to be able to run bjam
on a TOP jamfile, and have some subprojects build binaries targeted to
the Playstation2 EE processor, and some binaries targeted to its IOP
processor.

Can I do something like this: In each subproject, do something like:

local on_ps2ee ;
ps2ee = 1; # or not

And in the tools jam file, write somthing like:

if $(ps2ee )
flags snps HDR_PATHS : $(SCE)\\EE\\INCLUDE
else
flags snps HDR_PATHS : $(SCE)\\IOP\\INCLUDE
endif

Yeah, well, that's probably wrong, but that should convey what I'm
trying to do. BTW, I want to keep the local jamfiles as simple as
possible, even at the expense of making the tools files more complex.

tia

Paul

 


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