|
Boost-Build : |
From: Michael Ellenberger (mellenbe_at_[hidden])
Date: 2004-06-11 20:41:09
flags gcc <cflags> ;
However I can't seem to set them... bjam -sBUILD="<cflags> -m64" as seems
to be indicated by the doc.
Sometimes it begins building and other times it generates a core file.
I'll be interested in finding out how this actually works.
Mike
-----Original Message-----
From: Mark Elston [mailto:m.elston_at_[hidden]]
Sent: Friday, June 11, 2004 4:07 PM
To: Jamboost Mailing List
Subject: [jamboost]
I was just looking at the Jam documentation and came across the
following referring to the "features" you can specify on the
jam commandline:
variant: The feature which combines several low-level
features in order to make building most common
variants simple.
Allowed values: debug, release, profile
The value debug expands to:
<optimization>off <debug-symbols>on
<inlining>off <runtime-debugging>on
The value release expands to:
<optimization>speed <debug-symbols>off
<inlining>full <runtime-debugging>off
The value provile expands to the same as release, plus:
<profiling>on <debug-symbols>on
We routinely create many more build configurations than this.
We have build configurations for using with Purify/Quantify, and
configurations for benchmarking with other tools, etc.
All of these configurations use specific compiler/linker options
and libraries.
How can we specify these "common" configurations so we can use them
as we would use debug or release?
I have looked over the documentation and cannot find anything to
address this.
Mark
---------------------------------------------------------------
Mark Elston
melston_at_[hidden]
---------------------------------------------------------------
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=1298fhob6/M=298184.5022502.6152625.3001176/D=gr
oups/S=1707281907:HM/EXP=1087081672/A=2164339/R=0/SIG=11e2d64in/*http:/www.n
etflix.com/Default?mqso=60183348> click here
<http://us.adserver.yahoo.com/l?M=298184.5022502.6152625.3001176/D=groups/S=
:HM/A=2164339/rand=591982530>
_____
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/jamboost/
<http://groups.yahoo.com/group/jamboost/>
* To unsubscribe from this group, send an email to:
jamboost-unsubscribe_at_[hidden]
<mailto:jamboost-unsubscribe_at_[hidden]?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
------_=_NextPart_001_01C4501E.55D5E696 Content-Type: text/html
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
p.MsoToc1, li.MsoToc1, div.MsoToc1
{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:blue;
text-decoration:underline;}
tt
{font-family:"Courier New";}
span.EmailStyle19
{font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
/* List Definitions */
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It's not clear how this works.
I see definitions in the gcc-tools.jam file,</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>flags gcc <cflags> ;</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>However I can't seem to set
them... bjam -sBUILD="<cflags> -m64" as seems to
be indicated by the doc.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sometimes it begins building and other
times it generates a core file. </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I'll be interested in finding out
how this actually works.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Mike</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Mark Elston
[mailto:m.elston_at_[hidden]] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, June 11, 2004 4:07
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Jamboost Mailing List<br>
<b><span style='font-weight:bold'>Subject:</span></b> [jamboost] </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><br>
<tt><font face="Courier New">I was just looking at the Jam documentation and
came across the</font></tt><br>
<tt><font face="Courier New">following referring to the "features"
you can specify on the</font></tt><br>
<tt><font face="Courier New">jam commandline:</font></tt><br>
<br>
<tt><font face="Courier New"> variant: The
feature which combines several low-level</font></tt><br>
<tt><font face="Courier New">
features in order to make building most common</font></tt><br>
<tt><font face="Courier New">
variants simple.</font></tt><br>
<br>
<tt><font face="Courier New">
Allowed values: debug, release, profile</font></tt><br>
<br>
<tt><font face="Courier New">
The value debug expands to:</font></tt><br>
<tt><font face="Courier New">
<optimization>off <debug-symbols>on </font></tt><br>
<tt><font face="Courier New">
<inlining>off <runtime-debugging>on</font></tt><br>
<br>
<tt><font face="Courier New">
The value release expands to:</font></tt><br>
<tt><font face="Courier New">
<optimization>speed <debug-symbols>off</font></tt><br>
<tt><font face="Courier New">
<inlining>full <runtime-debugging>off</font></tt><br>
<br>
<tt><font face="Courier New">
The value provile expands to the same as
release, plus:</font></tt><br>
<tt><font face="Courier New">
<profiling>on <debug-symbols>on</font></tt><br>
<br>
<tt><font face="Courier New">We routinely create many more build configurations
than this.</font></tt><br>
<tt><font face="Courier New">We have build configurations for using with
Purify/Quantify, and</font></tt><br>
<tt><font face="Courier New">configurations for benchmarking with other tools,
etc.</font></tt><br>
<br>
<tt><font face="Courier New">All of these configurations use specific
compiler/linker options</font></tt><br>
<tt><font face="Courier New">and libraries.</font></tt><br>
<br>
<tt><font face="Courier New">How can we specify these "common"
configurations so we can use them</font></tt><br>
<tt><font face="Courier New">as we would use debug or release?</font></tt><br>
<br>
<tt><font face="Courier New">I have looked over the documentation and cannot
find anything to </font></tt><br>
<tt><font face="Courier New">address this.</font></tt><br>
<br>
<tt><font face="Courier New">Mark</font></tt><br>
<br>
<tt><font face="Courier New">---------------------------------------------------------------</font></tt><br>
<tt><font face="Courier New">Mark Elston</font></tt><br>
<tt><font face="Courier New">melston_at_[hidden]</font></tt><br>
<tt><font face="Courier New">---------------------------------------------------------------</font></tt><br>
<br>
</span></font><br>
<br>
</p>
</body>
</html>
------_=_NextPart_001_01C4501E.55D5E696--
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