Boost logo

Boost-Build :

From: BRIDGES Dick (Dick.Bridges_at_[hidden])
Date: 2005-05-02 11:26:16


> -----Original Message-----
> From: jamboost_at_[hidden] [mailto:jamboost_at_[hidden]] On
Behalf
> Of Vladimir Prus
> Sent: Thursday, April 28, 2005 11:12 PM
> To: jamboost_at_[hidden]
> Subject: Re: [jamboost] Invoking bjam for multiple compilers
>
> On Friday 29 April 2005 01:18, BRIDGES Dick wrote:
[Dick] <snip>
> >
> > I'd like to build the boost libraries for multiple gcc [cross]
> > compilers. I think the first step would be to modify a
user-config.jam
> > to include something like the following:
[Dick] <snip>
> >
> > But then I'm stuck. (1) How do I invoke bjam to compile all three
> > libraries - the default that's in the path (linux x86 in this case),
> > then the arm-g++, then the ppc-g++?
>
> I'd use this:
>
> using gcc : 3.4 ;
> using gcc : 3.4arm : /path/one/arm-g++ : <other stuff> ;
> using gcc : 3.4ppc : /path/two/ppc-g++ : <other stuff> ;
>
> and them
>
> bjam gcc-3.4 gcc-3.4arm gcc-3.4ppc

[Dick] Works dandy! Thank you for the reply.
>

[Dick] <snip>
>
> > PS: I thought I saw that an "alias" could be added to each version
by
> > including it after the version followed by a space (i.e.,
> >
> > using gcc : 3.? gcc-arm : /path/one/arm-g++ : <other stuff> ;) Now
I
> > can't find this mentioned. Does it work this way - or was I smoking
> > crayons?
>
> Well, I did not seen this method ;-)
>
[Dick] I found it! Even though the purple crayons are almost as strong
as green M&Ms, I wasn't dreaming: aliasing is mentioned in the sample
user-config.jam:

<quote>
# Configure specific gcc version, giving alternative name to use
# using gcc : 3.2 g++-3.2 ;
</quote>

Of course I couldn't make it work, but that's for another day.

Thanks again.

> - Volodya
>
> --
> Vladimir Prus
> http://vladimir_prus.blogspot.com
> Boost.Build V2: http://boost.org/boost-build2
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>

 


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