Boost logo

Boost-Build :

From: BRIDGES Dick (Dick.Bridges_at_[hidden])
Date: 2005-04-28 16:18:07


------_=_NextPart_001_01C54C37.C5B64F0E Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Apologies in advance if I missed the docs describing how to accomplish
this. I *REALLY* tried to find them on my own.

=20

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:

=20

<snippet>

using gcc : 3.4 ;

using gcc : 3.? : /path/one/arm-g++ : <other stuff> ;

using gcc : 3.? : /path/two/ppc-g++ : <other stuff> ;

<snippet/>

=20

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++? (2) Then there's the question of
having the results show up in three different directory trees; (3) and
finally, how do I differentiate version numbers when the version number
is the same for all three compilers?

=20

Any explanation or reference to the appropriate place in the
documentation would be *GREATLY* appreciated.

=20

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.,=20

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?

=20

Sincere thanks in advance,

Dick Bridges

=20

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken

=20

=20

 ------_=_NextPart_001_01C54C37.C5B64F0E Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Apologies in advance if I missed the docs describing how=
to
accomplish this.&nbsp; I *<b><span style=3D'font-weight:bold'>REALLY</span>=
</b>*
tried to find them on my own.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>I&#8217;d like to build the boost libraries for multiple=
gcc
[cross] compilers. &nbsp;I think the first step would be to modify a user-c=
onfig.jam
to include something like the following:</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&lt;snippet&gt;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; using gcc : 3.4 ;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; using gcc : 3.? : /path/one/arm-g++ :
&lt;other stuff&gt; ;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; using gcc : 3.? : /path/two/ppc-g++ :
&lt;other stuff&gt; ;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&lt;snippet/&gt;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>But then I&#8217;m stuck.&nbsp; (1) How do I invoke bjam=
to
compile all three libraries &#8211; the default that&#8217;s in the path (l=
inux
x86 in this case), then the arm-g++, then the ppc-g++?&nbsp; (2) Then there=
&#8217;s
the question of having the results show up in three different directory tre=
es; (3)
and finally, how do I differentiate version numbers when the version number=
is
the same for all three compilers?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Any explanation or reference to the appropriate place in=
the
documentation would be *<b><span style=3D'font-weight:bold'>GREATLY</span><=
/b>*
appreciated.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>PS:&nbsp; I thought I saw that an &#8220;alias&#8221; co=
uld
be added to each version by including it after the version followed by a sp=
ace
(i.e., </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>using gcc : 3.? gcc-arm : /path/one/arm-g++ : &lt;other
stuff&gt; ;)&nbsp; Now I can&#8217;t find this mentioned.&nbsp; Does it wor=
k
this way &#8211; or was I smoking crayons?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Sincere thanks in advance,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Dick Bridges</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>&quot;For every complex problem, there is a solution tha=
t is
simple, neat, and wrong.&quot;&nbsp; H.L. Mencken</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>
 ------_=_NextPart_001_01C54C37.C5B64F0E-- ------=_NextPartTM-000-d588e356-dd8d-4f65-a75b-96292432a560--


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