<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-14203</id>
	<title>Nabble - Boost - Build</title>
	<updated>2009-11-11T07:19:30Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Boost---Build-f14203.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Boost---Build-f14203.html" />
	<subtitle type="html">Boost.Build developer's and user's list</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26303067</id>
	<title>Re: How to adjust/redefine default variants &quot;debug&quot;, &quot;release&quot; and &quot;profiling&quot;</title>
	<published>2009-11-11T07:19:30Z</published>
	<updated>2009-11-11T07:19:30Z</updated>
	<author>
		<name>Anthony Foglia-2</name>
	</author>
	<content type="html">Deniz Bahadir wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have a short question concerning the default build variants &amp;quot;debug&amp;quot;, &amp;quot;release&amp;quot;, and &amp;quot;profiling&amp;quot;:
&lt;br&gt;&amp;gt; &amp;nbsp; Is it possible to change some features for these default variants or add some new? (And how?)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I do not want to inherit these variants but instead change them directly.
&lt;br&gt;&amp;gt; For example, I like to add a preprocessor-define &amp;quot;DEBUG&amp;quot; to the debug variant, (but not to the others).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; By searching this list I already found a way to change some of the default-settings by doing the following:
&lt;br&gt;&amp;gt; &amp;nbsp; # Rearrange default features to our specs
&lt;br&gt;&amp;gt; &amp;nbsp; import feature ;
&lt;br&gt;&amp;gt; &amp;nbsp; feature.set-default runtime-debugging : off ;
&lt;br&gt;&amp;gt; However, as far as I understand, this changes the default value globally for all three default variants and it seems not to be possible to do it just for one variant. I was also not able to add a preprocessor-define (at least globally to all variants) using this mechanism.
&lt;/div&gt;&lt;br&gt;I don't know exactly what you have in mind, but if all your builds are 
&lt;br&gt;done in the same project, you can add the define, you can add the define 
&lt;br&gt;to the list of requirements.
&lt;br&gt;&lt;br&gt;project
&lt;br&gt;&amp;nbsp; &amp;nbsp;: requirements
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;variant&amp;gt;debug:&amp;lt;define&amp;gt;DEBUG
&lt;br&gt;&amp;nbsp; &amp;nbsp;;
&lt;br&gt;&lt;br&gt;It's not the same as changing the default variants, but it has the same 
&lt;br&gt;effect within the project. &amp;nbsp;I haven't tried it, but it should also work 
&lt;br&gt;features.
&lt;br&gt;&lt;br&gt;project
&lt;br&gt;&amp;nbsp; &amp;nbsp;: requirements
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;variant&amp;gt;debug:&amp;lt;runtime-debugging&amp;gt;off
&lt;br&gt;&amp;nbsp; &amp;nbsp;;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Anthony Foglia
&lt;br&gt;Princeton Consultants
&lt;br&gt;(609) 987-8787 x233
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-adjust-redefine-default-variants-%22debug%22%2C-%22release%22-and-%22profiling%22-tp26298642p26303067.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26302623</id>
	<title>Re: How to create and call a rule which acts differently depending on the build variant?</title>
	<published>2009-11-11T06:56:56Z</published>
	<updated>2009-11-11T06:56:56Z</updated>
	<author>
		<name>Vladimir Prus</name>
	</author>
	<content type="html">On Wednesday 11 November 2009 Deniz Bahadir wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hello everyone,
&lt;br&gt;&lt;br&gt;Hi Deniz,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have another questions. This time it might even be pretty simple,
&lt;br&gt;&amp;gt; but I do not know where to look for the answer:
&lt;br&gt;&amp;gt; &amp;nbsp; How can I create and call a custom-rule which acts differently
&lt;br&gt;&amp;gt; depending on the build variant?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For clarification I add the following example, which should explain
&lt;br&gt;&amp;gt; the question in more detail.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have four build variants, &amp;quot;debugstatic&amp;quot;, &amp;quot;debugdynamic&amp;quot;,
&lt;br&gt;&amp;gt; &amp;quot;releasestatic&amp;quot; and &amp;quot;releasedynamic&amp;quot;. Because the libraries created by
&lt;br&gt;&amp;gt; these variants are later copied to the same directory, their names are
&lt;br&gt;&amp;gt; automatically adjusted, to include the build variant and correct
&lt;br&gt;&amp;gt; suffix. So for the different build variants the filename for library
&lt;br&gt;&amp;gt; 'foo' is (in linux):
&lt;br&gt;&amp;gt; &amp;nbsp; debugstatic =&amp;gt; libfoo_debugstatic.a
&lt;br&gt;&amp;gt; &amp;nbsp; debugdynamic =&amp;gt; libfoo_debugdynamic.so
&lt;br&gt;&amp;gt; &amp;nbsp; releasestatic =&amp;gt; libfoo_releasestatic.a
&lt;br&gt;&amp;gt; &amp;nbsp; releasedynamic =&amp;gt; libfoo_releasedynamic.so
&lt;br&gt;&amp;gt; Now, the names of these libraries shall be used as required
&lt;br&gt;&amp;gt; dependencies for other libraries or executables. To always include the
&lt;br&gt;&amp;gt; correct file I could use conditional requirements like this:
&lt;br&gt;&amp;gt; &amp;nbsp; exe bar
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : bar.cpp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : &amp;lt;variant&amp;gt;debugstatic:&amp;lt;file&amp;gt;libfoo_debugstatic.a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;variant&amp;gt;debugdynamic:&amp;lt;file&amp;gt;libfoo_debugdynamic.so
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;variant&amp;gt;releasestatic:&amp;lt;file&amp;gt;libfoo_releasestatic.a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;variant&amp;gt;releasedynamic:&amp;lt;file&amp;gt;libfoo_releasedynamic.so
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ;
&lt;/div&gt;&lt;br&gt;Are those libraries also created by Boost.Build? If so, you
&lt;br&gt;probably can include the relevant target in the sources for 'bar',
&lt;br&gt;as opposed to using &amp;lt;file&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; However, with a lot of required libraries I have to write the same
&lt;br&gt;&amp;gt; stuff over and over again (4 times more often than I want).
&lt;br&gt;&amp;gt; So I would like to have a rule which automatically adds the correct
&lt;br&gt;&amp;gt; postfix and suffix to the base library name. Maybe I can do something
&lt;br&gt;&amp;gt; similar to the following?
&lt;br&gt;&amp;gt; &amp;nbsp; rule AddCorrectPostfixAndSuffix ( name ... )
&lt;br&gt;&amp;gt; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; # check the variant that gets build and add correct postfix/suffix
&lt;br&gt;&amp;gt; &amp;nbsp; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; exe bar
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : bar.cpp
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : &amp;lt;file&amp;gt;libfoo@AddCorrectPostfixAndSuffix
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem is, that I do not really know what the definition of such
&lt;br&gt;&amp;gt; a rule should look like and that I do not know how to call such a
&lt;br&gt;&amp;gt; rule.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So every possible hint to the solution is greatly appreciated.
&lt;/div&gt;&lt;br&gt;Please take a look at indirect conditional requirements, here:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html#bbv2.overview.targets.requirements&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html#bbv2.overview.targets.requirements&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;Volodya
&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-create-and-call-a-rule-which-acts-differently-depending-on-the-build-variant--tp26300798p26302623.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26300798</id>
	<title>How to create and call a rule which acts differently depending on the build variant?</title>
	<published>2009-11-11T04:58:59Z</published>
	<updated>2009-11-11T04:58:59Z</updated>
	<author>
		<name>Deniz Bahadir</name>
	</author>
	<content type="html">Hello everyone,
&lt;br&gt;&lt;br&gt;I have another questions. This time it might even be pretty simple,
&lt;br&gt;but I do not know where to look for the answer:
&lt;br&gt;&amp;nbsp; How can I create and call a custom-rule which acts differently
&lt;br&gt;depending on the build variant?
&lt;br&gt;&lt;br&gt;For clarification I add the following example, which should explain
&lt;br&gt;the question in more detail.
&lt;br&gt;&lt;br&gt;I have four build variants, &amp;quot;debugstatic&amp;quot;, &amp;quot;debugdynamic&amp;quot;,
&lt;br&gt;&amp;quot;releasestatic&amp;quot; and &amp;quot;releasedynamic&amp;quot;. Because the libraries created by
&lt;br&gt;these variants are later copied to the same directory, their names are
&lt;br&gt;automatically adjusted, to include the build variant and correct
&lt;br&gt;suffix. So for the different build variants the filename for library
&lt;br&gt;'foo' is (in linux):
&lt;br&gt;&amp;nbsp; debugstatic =&amp;gt; libfoo_debugstatic.a
&lt;br&gt;&amp;nbsp; debugdynamic =&amp;gt; libfoo_debugdynamic.so
&lt;br&gt;&amp;nbsp; releasestatic =&amp;gt; libfoo_releasestatic.a
&lt;br&gt;&amp;nbsp; releasedynamic =&amp;gt; libfoo_releasedynamic.so
&lt;br&gt;Now, the names of these libraries shall be used as required
&lt;br&gt;dependencies for other libraries or executables. To always include the
&lt;br&gt;correct file I could use conditional requirements like this:
&lt;br&gt;&amp;nbsp; exe bar
&lt;br&gt;&amp;nbsp; &amp;nbsp; : bar.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; : &amp;lt;variant&amp;gt;debugstatic:&amp;lt;file&amp;gt;libfoo_debugstatic.a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;variant&amp;gt;debugdynamic:&amp;lt;file&amp;gt;libfoo_debugdynamic.so
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;variant&amp;gt;releasestatic:&amp;lt;file&amp;gt;libfoo_releasestatic.a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;variant&amp;gt;releasedynamic:&amp;lt;file&amp;gt;libfoo_releasedynamic.so
&lt;br&gt;&amp;nbsp; &amp;nbsp; ;
&lt;br&gt;However, with a lot of required libraries I have to write the same
&lt;br&gt;stuff over and over again (4 times more often than I want).
&lt;br&gt;So I would like to have a rule which automatically adds the correct
&lt;br&gt;postfix and suffix to the base library name. Maybe I can do something
&lt;br&gt;similar to the following?
&lt;br&gt;&amp;nbsp; rule AddCorrectPostfixAndSuffix ( name ... )
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; # check the variant that gets build and add correct postfix/suffix
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; exe bar
&lt;br&gt;&amp;nbsp; &amp;nbsp; : bar.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; : &amp;lt;file&amp;gt;libfoo@AddCorrectPostfixAndSuffix
&lt;br&gt;&amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&lt;br&gt;The problem is, that I do not really know what the definition of such
&lt;br&gt;a rule should look like and that I do not know how to call such a
&lt;br&gt;rule.
&lt;br&gt;&lt;br&gt;So every possible hint to the solution is greatly appreciated.
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;DENIZ
&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-create-and-call-a-rule-which-acts-differently-depending-on-the-build-variant--tp26300798p26300798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26300291</id>
	<title>Re: Want to run configure to generate header</title>
	<published>2009-11-11T04:10:50Z</published>
	<updated>2009-11-11T04:10:50Z</updated>
	<author>
		<name>Daniel Lidström</name>
	</author>
	<content type="html">&amp;gt; Daniel, 
&lt;br&gt;&amp;gt; try
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;implicit-dependency&amp;gt;config-header
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; in requirements. Because '.h' files are not actually used 
&lt;br&gt;&amp;gt; when building 'lib'
&lt;br&gt;&amp;gt; at all, the 'config-header' in sources is ignored.
&lt;br&gt;&lt;br&gt;Thank you Volodya, this worked for me.
&lt;br&gt;&lt;br&gt;/Daniel
&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Want-to-run-configure-to-generate-header-tp26299584p26300291.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26299848</id>
	<title>Re: How to adjust/redefine default variants &quot;debug&quot;, &quot;release&quot; and &quot;profiling&quot;</title>
	<published>2009-11-11T03:33:58Z</published>
	<updated>2009-11-11T03:33:58Z</updated>
	<author>
		<name>Deniz Bahadir</name>
	</author>
	<content type="html">Thanks Vladimir (or Volodya?),
&lt;br&gt;&lt;br&gt;your suggestion works like a charm.
&lt;br&gt;&lt;br&gt;Thanks a lot.
&lt;br&gt;DENIZ
&lt;br&gt;&lt;br&gt;PS: I got another newbie-questions, but I guess I better write an
&lt;br&gt;individual email for it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/11 Vladimir Prus &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26299848&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ghost@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wednesday 11 November 2009 Deniz Bahadir wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hello everyone,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have a short question concerning the default build variants &amp;quot;debug&amp;quot;, &amp;quot;release&amp;quot;, and &amp;quot;profiling&amp;quot;:
&lt;br&gt;&amp;gt;&amp;gt;   Is it possible to change some features for these default variants or add some new? (And how?)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I do not want to inherit these variants but instead change them directly.
&lt;br&gt;&amp;gt;&amp;gt; For example, I like to add a preprocessor-define &amp;quot;DEBUG&amp;quot; to the debug variant, (but not to the others).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; By searching this list I already found a way to change some of the default-settings by doing the following:
&lt;br&gt;&amp;gt;&amp;gt;   # Rearrange default features to our specs
&lt;br&gt;&amp;gt;&amp;gt;   import feature ;
&lt;br&gt;&amp;gt;&amp;gt;   feature.set-default runtime-debugging : off ;
&lt;br&gt;&amp;gt;&amp;gt; However, as far as I understand, this changes the default value globally for all three default variants and it seems not to be possible to do it just for one variant. I was also not able to add a preprocessor-define (at least globally to all variants) using this mechanism.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So hopefully someone can help me.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Deniz,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; there's no 'clean' way to do this. However, can you try this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        module feature
&lt;br&gt;&amp;gt;        {
&lt;br&gt;&amp;gt;                &amp;lt;variant&amp;gt;debug.components = &amp;lt;optimization&amp;gt;off &amp;lt;define&amp;gt;FOOBAR ;
&lt;br&gt;&amp;gt;        }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This explicitly pokes at relevant settings inside the 'feature' module.
&lt;br&gt;&amp;gt; Let me know if this helps.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Volodya
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-adjust-redefine-default-variants-%22debug%22%2C-%22release%22-and-%22profiling%22-tp26298642p26299848.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26299826</id>
	<title>Re: Want to run configure to generate header</title>
	<published>2009-11-11T03:25:48Z</published>
	<updated>2009-11-11T03:25:48Z</updated>
	<author>
		<name>Vladimir Prus-3</name>
	</author>
	<content type="html">Daniel Lidström wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a project that needs to run configure before being built. This should generate the header
&lt;br&gt;&amp;gt; config.h. Here's how I tried to solve this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; alias config-header
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : config.h
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; make config.h
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; :
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : make-configure
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; actions make-configure
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ./configure
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; lib sbg_fltk
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : config-header
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; src/Fl_Double_Window.cxx
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This doesn't run configure though, and Fl_Double_Window.cxx fails to compile.
&lt;br&gt;&amp;gt; Any ideas on what I should do?
&lt;/div&gt;&lt;br&gt;Daniel, 
&lt;br&gt;try
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;implicit-dependency&amp;gt;config-header
&lt;br&gt;&lt;br&gt;in requirements. Because '.h' files are not actually used when building 'lib'
&lt;br&gt;at all, the 'config-header' in sources is ignored.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;Volodya
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Want-to-run-configure-to-generate-header-tp26299584p26299826.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26299584</id>
	<title>Want to run configure to generate header</title>
	<published>2009-11-11T03:08:33Z</published>
	<updated>2009-11-11T03:08:33Z</updated>
	<author>
		<name>Daniel Lidström</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have a project that needs to run configure before being built. This should generate the header config.h.
&lt;br&gt;Here's how I tried to solve this:
&lt;br&gt;&lt;br&gt;alias config-header
&lt;br&gt;&amp;nbsp; &amp;nbsp; : config.h
&lt;br&gt;&amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&lt;br&gt;make config.h
&lt;br&gt;&amp;nbsp; &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; : make-configure
&lt;br&gt;&amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&lt;br&gt;actions make-configure
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; ./configure
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;lib sbg_fltk
&lt;br&gt;&amp;nbsp; &amp;nbsp; : config-header
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; src/Fl_Double_Window.cxx
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; .
&lt;br&gt;&amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&lt;br&gt;This doesn't run configure though, and Fl_Double_Window.cxx fails to compile.
&lt;br&gt;Any ideas on what I should do?
&lt;br&gt;&lt;br&gt;Thanks in advance!
&lt;br&gt;&lt;br&gt;/Daniel Lidström
&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Want-to-run-configure-to-generate-header-tp26299584p26299584.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26298982</id>
	<title>Re: How to adjust/redefine default variants &quot;debug&quot;, &quot;release&quot; and &quot;profiling&quot;</title>
	<published>2009-11-11T02:15:52Z</published>
	<updated>2009-11-11T02:15:52Z</updated>
	<author>
		<name>Vladimir Prus</name>
	</author>
	<content type="html">On Wednesday 11 November 2009 Deniz Bahadir wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello everyone,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a short question concerning the default build variants &amp;quot;debug&amp;quot;, &amp;quot;release&amp;quot;, and &amp;quot;profiling&amp;quot;:
&lt;br&gt;&amp;gt; &amp;nbsp; Is it possible to change some features for these default variants or add some new? (And how?)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I do not want to inherit these variants but instead change them directly.
&lt;br&gt;&amp;gt; For example, I like to add a preprocessor-define &amp;quot;DEBUG&amp;quot; to the debug variant, (but not to the others).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; By searching this list I already found a way to change some of the default-settings by doing the following:
&lt;br&gt;&amp;gt; &amp;nbsp; # Rearrange default features to our specs
&lt;br&gt;&amp;gt; &amp;nbsp; import feature ;
&lt;br&gt;&amp;gt; &amp;nbsp; feature.set-default runtime-debugging : off ;
&lt;br&gt;&amp;gt; However, as far as I understand, this changes the default value globally for all three default variants and it seems not to be possible to do it just for one variant. I was also not able to add a preprocessor-define (at least globally to all variants) using this mechanism.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So hopefully someone can help me.
&lt;/div&gt;&lt;br&gt;Deniz,
&lt;br&gt;&lt;br&gt;there's no 'clean' way to do this. However, can you try this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; module feature 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;variant&amp;gt;debug.components = &amp;lt;optimization&amp;gt;off &amp;lt;define&amp;gt;FOOBAR ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;This explicitly pokes at relevant settings inside the 'feature' module.
&lt;br&gt;Let me know if this helps.
&lt;br&gt;&lt;br&gt;- Volodya
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-adjust-redefine-default-variants-%22debug%22%2C-%22release%22-and-%22profiling%22-tp26298642p26298982.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26298642</id>
	<title>How to adjust/redefine default variants &quot;debug&quot;, &quot;release&quot; and &quot;profiling&quot;</title>
	<published>2009-11-11T00:13:34Z</published>
	<updated>2009-11-11T00:13:34Z</updated>
	<author>
		<name>Deniz Bahadir</name>
	</author>
	<content type="html">Hello everyone,
&lt;br&gt;&lt;br&gt;I have a short question concerning the default build variants &amp;quot;debug&amp;quot;, &amp;quot;release&amp;quot;, and &amp;quot;profiling&amp;quot;:
&lt;br&gt;&amp;nbsp; Is it possible to change some features for these default variants or add some new? (And how?)
&lt;br&gt;&lt;br&gt;I do not want to inherit these variants but instead change them directly.
&lt;br&gt;For example, I like to add a preprocessor-define &amp;quot;DEBUG&amp;quot; to the debug variant, (but not to the others).
&lt;br&gt;&lt;br&gt;By searching this list I already found a way to change some of the default-settings by doing the following:
&lt;br&gt;&amp;nbsp; # Rearrange default features to our specs
&lt;br&gt;&amp;nbsp; import feature ;
&lt;br&gt;&amp;nbsp; feature.set-default runtime-debugging : off ;
&lt;br&gt;However, as far as I understand, this changes the default value globally for all three default variants and it seems not to be possible to do it just for one variant. I was also not able to add a preprocessor-define (at least globally to all variants) using this mechanism.
&lt;br&gt;&lt;br&gt;So hopefully someone can help me.
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;DENIZ
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
&lt;br&gt;sicherer, schneller und einfacher! &lt;a href=&quot;http://portal.gmx.net/de/go/atbrowser&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/atbrowser&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-adjust-redefine-default-variants-%22debug%22%2C-%22release%22-and-%22profiling%22-tp26298642p26298642.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26296832</id>
	<title>Re: bjam - no strip option</title>
	<published>2009-11-10T22:45:29Z</published>
	<updated>2009-11-10T22:45:29Z</updated>
	<author>
		<name>Vladimir Prus</name>
	</author>
	<content type="html">On Wednesday 11 November 2009 Rene Rivera wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Deane Yang wrote:
&lt;br&gt;&amp;gt; &amp;gt; Vladimir Prus &amp;lt;ghost &amp;lt;at&amp;gt; cs.msu.su&amp;gt; writes:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;It probably is a better idea
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; to avoid --strip-all, since it's rarely done by other projects, even in release
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; configuration. Comments?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I am just encountering this issue. Does Boost Build v2 have an existing means
&lt;br&gt;&amp;gt; &amp;gt; for turning &amp;quot;strip symbols&amp;quot; on or off? If not, could this be added?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Do you mean something other than &amp;lt;debug-symbols&amp;gt;off vs. &amp;lt;debug-symbols&amp;gt;on?
&lt;/div&gt;&lt;br&gt;I guess so. Note that other build system do not do complete strip in release configuration.
&lt;br&gt;It's probably right, as it allows to get at least minimally useful backtraces.
&lt;br&gt;So, I would propose to:
&lt;br&gt;&lt;br&gt;- don't strip by default
&lt;br&gt;- [possibly] introduce a feature to request stripping
&lt;br&gt;&lt;br&gt;What do you think?
&lt;br&gt;&lt;br&gt;- Volodya
&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bjam---no-strip-option-tp26010067p26296832.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26296093</id>
	<title>Re: bjam - no strip option</title>
	<published>2009-11-10T20:55:27Z</published>
	<updated>2009-11-10T20:55:27Z</updated>
	<author>
		<name>Rene Rivera-2</name>
	</author>
	<content type="html">Deane Yang wrote:
&lt;br&gt;&amp;gt; Vladimir Prus &amp;lt;ghost &amp;lt;at&amp;gt; cs.msu.su&amp;gt; writes:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;It probably is a better idea
&lt;br&gt;&amp;gt;&amp;gt; to avoid --strip-all, since it's rarely done by other projects, even in release
&lt;br&gt;&amp;gt;&amp;gt; configuration. Comments?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am just encountering this issue. Does Boost Build v2 have an existing means
&lt;br&gt;&amp;gt; for turning &amp;quot;strip symbols&amp;quot; on or off? If not, could this be added?
&lt;br&gt;&lt;br&gt;Do you mean something other than &amp;lt;debug-symbols&amp;gt;off vs. &amp;lt;debug-symbols&amp;gt;on?
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-- Grafik - Don't Assume Anything
&lt;br&gt;-- Redshift Software, Inc. - &lt;a href=&quot;http://redshift-software.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://redshift-software.com&lt;/a&gt;&lt;br&gt;-- rrivera/acm.org (msn) - grafik/redshift-software.com
&lt;br&gt;-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail
&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bjam---no-strip-option-tp26010067p26296093.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26294910</id>
	<title>Re: bjam - no strip option</title>
	<published>2009-11-10T18:07:02Z</published>
	<updated>2009-11-10T18:07:02Z</updated>
	<author>
		<name>Deane Yang-2</name>
	</author>
	<content type="html">Vladimir Prus &amp;lt;ghost &amp;lt;at&amp;gt; cs.msu.su&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;It probably is a better idea
&lt;br&gt;&amp;gt; to avoid --strip-all, since it's rarely done by other projects, even in release
&lt;br&gt;&amp;gt; configuration. Comments?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;I am just encountering this issue. Does Boost Build v2 have an existing means
&lt;br&gt;for turning &amp;quot;strip symbols&amp;quot; on or off? If not, could this be added?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bjam---no-strip-option-tp26010067p26294910.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26287234</id>
	<title>Re: bjam + purify</title>
	<published>2009-11-10T09:03:14Z</published>
	<updated>2009-11-10T09:03:14Z</updated>
	<author>
		<name>K. Noel Belcourt</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 9, 2009, at 10:33 PM, Vladimir Prus wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Monday 09 November 2009 Anant Rao wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is there a way to build c++ code with bjam + purify on win, linux &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; or both?
&lt;br&gt;&amp;gt;&amp;gt; If so, could you provide links to the info?
&lt;br&gt;&amp;gt;&amp;gt; If not, is there any effort going on in that direction so I can &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; look forward to it one day?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; how is purify supposed to be used? The link I could find suggest &amp;nbsp;
&lt;br&gt;&amp;gt; that you just
&lt;br&gt;&amp;gt; run purify on a normally-built binary, in which case things should &amp;nbsp;
&lt;br&gt;&amp;gt; work? If one
&lt;br&gt;&amp;gt; should use &amp;quot;purify g++&amp;quot; to build binaries, instead, you can &amp;nbsp;
&lt;br&gt;&amp;gt; configure gcc as follows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	using gcc : purify : &amp;quot;purify g++&amp;quot; ;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; in your user-config.jam, and then say:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	bjam toolset=gcc-purify
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Let me know if this helps,
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;Here's a sampling of the changes we made to bring up Purify in &amp;nbsp;
&lt;br&gt;Boost.build. &amp;nbsp;Basically we defined an instrument feature and defined &amp;nbsp;
&lt;br&gt;valgrind, purify, etc.. as valid instruments. &amp;nbsp;Then we build with
&lt;br&gt;&lt;br&gt;bjam ... instrument=purify
&lt;br&gt;&lt;br&gt;Let me know if you want more details.
&lt;br&gt;&lt;br&gt;-- Noel
&lt;br&gt;&lt;br&gt;builtin.jam:# instrument built targets (usually instrument linked &amp;nbsp;
&lt;br&gt;executables)
&lt;br&gt;builtin.jam:feature.feature instrument : none purify purecov quantify &amp;nbsp;
&lt;br&gt;valgrind cachegrind zerofault : propagated ;
&lt;br&gt;builtin.jam:# diagnose and report error if instrument is an &amp;nbsp;
&lt;br&gt;incidental feature
&lt;br&gt;builtin.jam:local tool = [ MATCH &amp;quot;^instrument=(.*)&amp;quot; : $(.argv) ] ;
&lt;br&gt;builtin.jam: &amp;nbsp;ECHO &amp;quot;Error: you can use more than one instrument if &amp;nbsp;
&lt;br&gt;you're not installing&amp;quot; ;
&lt;br&gt;builtin.jam: &amp;nbsp;ECHO &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; and found instrument=$(tool) which is &amp;nbsp;
&lt;br&gt;unsupported&amp;quot; ;
&lt;br&gt;builtin.jam: &amp;nbsp;ECHO &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; Remove the --installname option or use &amp;nbsp;
&lt;br&gt;only one instrument when installing&amp;quot; ;
&lt;br&gt;&lt;br&gt;cuda.jam:toolset.flags cuda.link CONFIG_COMMAND &amp;lt;instrument&amp;gt;purify/ 
&lt;br&gt;&amp;lt;runtime-link&amp;gt;shared
&lt;br&gt;cuda.jam:toolset.flags cuda.link OPTIONS &amp;lt;instrument&amp;gt;purify/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared
&lt;br&gt;cuda.jam:toolset.flags cuda.link CONFIG_COMMAND &amp;lt;instrument&amp;gt;quantify/ 
&lt;br&gt;&amp;lt;runtime-link&amp;gt;shared
&lt;br&gt;cuda.jam:toolset.flags cuda.link OPTIONS &amp;lt;instrument&amp;gt;quantify/ 
&lt;br&gt;&amp;lt;runtime-link&amp;gt;shared
&lt;br&gt;&lt;br&gt;gcc.jam:# get build directory for target instrument output
&lt;br&gt;gcc.jam:toolset.flags gcc.link CONFIG_COMMAND &amp;lt;instrument&amp;gt;purify/ 
&lt;br&gt;&amp;lt;runtime-link&amp;gt;shared
&lt;br&gt;gcc.jam:toolset.flags gcc.link OPTIONS &amp;lt;instrument&amp;gt;purify/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared
&lt;br&gt;gcc.jam:toolset.flags gcc.link CONFIG_COMMAND &amp;lt;instrument&amp;gt;purecov/ 
&lt;br&gt;&amp;lt;runtime-link&amp;gt;shared
&lt;br&gt;gcc.jam:toolset.flags gcc.link OPTIONS &amp;lt;instrument&amp;gt;purecov/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared
&lt;br&gt;gcc.jam:toolset.flags gcc.link CONFIG_COMMAND &amp;lt;instrument&amp;gt;quantify/ 
&lt;br&gt;&amp;lt;runtime-link&amp;gt;shared
&lt;br&gt;gcc.jam:toolset.flags gcc.link OPTIONS &amp;lt;instrument&amp;gt;quantify/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared
&lt;br&gt;&lt;br&gt;sun.jam: &amp;nbsp; &amp;nbsp;flags sun.link OPTIONS &amp;lt;address-model&amp;gt;64/ 
&lt;br&gt;&amp;lt;instrument&amp;gt;none : -m64 ;
&lt;br&gt;sun.jam: &amp;nbsp; &amp;nbsp;flags sun.link OPTIONS &amp;lt;instrument&amp;gt;purify/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared/&amp;lt;address-model&amp;gt;64 : -m64 ;
&lt;br&gt;sun.jam: &amp;nbsp; &amp;nbsp;flags sun.link OPTIONS &amp;lt;instrument&amp;gt;quantify/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared/&amp;lt;address-model&amp;gt;64 : -m64 ;
&lt;br&gt;sun.jam: &amp;nbsp; &amp;nbsp;flags sun.link OPTIONS &amp;lt;instrument&amp;gt;purify/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared/&amp;lt;address-model&amp;gt;64 : -xarch=v9 ;
&lt;br&gt;sun.jam: &amp;nbsp; &amp;nbsp;flags sun.link OPTIONS &amp;lt;instrument&amp;gt;quantify/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared/&amp;lt;address-model&amp;gt;64 : -xarch=v9 ;
&lt;br&gt;sun.jam:# get build directory for target instrument output
&lt;br&gt;sun.jam:flags sun.link CONFIG_COMMAND &amp;lt;instrument&amp;gt;purify/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared
&lt;br&gt;sun.jam:flags sun.link CONFIG_COMMAND &amp;lt;instrument&amp;gt;quantify/&amp;lt;runtime- 
&lt;br&gt;link&amp;gt;shared
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bjam-%2B-purify-tp26273572p26287234.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26279315</id>
	<title>Re: It's time for my per release beg for patch on ticket #2552 (Extending bjam to accept parameters 10-19)</title>
	<published>2009-11-09T23:22:47Z</published>
	<updated>2009-11-09T23:22:47Z</updated>
	<author>
		<name>Vladimir Prus</name>
	</author>
	<content type="html">On Wednesday 04 November 2009 Jon Biggar wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Vladimir Prus wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; 1.41 is coming soon. &amp;nbsp;Can the patch in this ticket please be integrated 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; this time? &amp;nbsp;It's been pending since 1.36.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; What is the change in performance and memory consumption of bjam with
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; this patch, when building Boost C++ Libraries?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; It increases the storage requirements for bjam rule parameters from 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 9*sizeof(pointer) to 19*sizeof(pointer) for the memory allocation 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; associated with each bjam rule invocation stack frame.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; It adds slight overhead when parsing rule text to find parameters $(10) 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; through $(19).
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I expect the effects of either to be quite small.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Given that you surely have both the patched version and the original version,
&lt;br&gt;&amp;gt; &amp;gt; can you try? The gut feeling is that the change should not be huge, but gut
&lt;br&gt;&amp;gt; &amp;gt; feelings are often wrong.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Unfortunately my main home linux machine went down, so I had to do this 
&lt;br&gt;&amp;gt; on a VM which is somewhat memory constrained and accesses its storage 
&lt;br&gt;&amp;gt; over NFS. &amp;nbsp;I ran 'time bjam stage' on the entire 1.40.0 distro and got 
&lt;br&gt;&amp;gt; these results:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; original bjam: &amp;nbsp; 166.328u 167.922s 18:33.62 30.0%
&lt;br&gt;&amp;gt; bjam with patch: 144.215u 157.788s 19:24.57 25.9%
&lt;br&gt;&amp;gt; second run: &amp;nbsp; &amp;nbsp; &amp;nbsp;158.794u 171.369s 18:32.89 29.6%
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So with my setup, I can't detect any significant time difference.
&lt;/div&gt;&lt;br&gt;Jon,
&lt;br&gt;&lt;br&gt;thanks for testing. I have now checked in the patch to trunk. It should
&lt;br&gt;be available in 1.42 (we've missed 1.41 in a number of ways)
&lt;br&gt;&lt;br&gt;- Volodya
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/It%27s-time-for-my-per-release-beg-for-patch-on-ticket--2552-%28Extending-bjam-to-accept-parameters-10-19%29-tp25885314p26279315.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26278569</id>
	<title>Re: bjam + purify</title>
	<published>2009-11-09T21:33:46Z</published>
	<updated>2009-11-09T21:33:46Z</updated>
	<author>
		<name>Vladimir Prus</name>
	</author>
	<content type="html">On Monday 09 November 2009 Anant Rao wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a way to build c++ code with bjam + purify on win, linux or both?
&lt;br&gt;&amp;gt; If so, could you provide links to the info?
&lt;br&gt;&amp;gt; If not, is there any effort going on in that direction so I can look forward to it one day?
&lt;br&gt;&lt;br&gt;Anant,
&lt;br&gt;&lt;br&gt;how is purify supposed to be used? The link I could find suggest that you just
&lt;br&gt;run purify on a normally-built binary, in which case things should work? If one
&lt;br&gt;should use &amp;quot;purify g++&amp;quot; to build binaries, instead, you can configure gcc as follows:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; using gcc : purify : &amp;quot;purify g++&amp;quot; ;
&lt;br&gt;&lt;br&gt;in your user-config.jam, and then say:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bjam toolset=gcc-purify
&lt;br&gt;&lt;br&gt;Let me know if this helps,
&lt;br&gt;Volodya
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bjam-%2B-purify-tp26273572p26278569.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26273572</id>
	<title>bjam + purify</title>
	<published>2009-11-09T12:58:35Z</published>
	<updated>2009-11-09T12:58:35Z</updated>
	<author>
		<name>Anant Rao</name>
	</author>
	<content type="html">&lt;html xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:st1=&quot;urn:schemas-microsoft-com:office:smarttags&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;PersonName&quot; /&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
st1\:*{behavior:url(#default#ieooui) }
&lt;/style&gt;
&lt;![endif]--&gt;


&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Hi,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Is there a way to &lt;st1:PersonName w:st=&quot;on&quot;&gt;build&lt;/st1:PersonName&gt;
c++ code with bjam + purify on win, linux or both?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;If so, could you provide links to the info?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;If not, is there any effort going on in that direction so I can
look forward to it one day?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Thanks a lot,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bjam-%2B-purify-tp26273572p26273572.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26272350</id>
	<title>Re: Problem with boost build - max include limit?</title>
	<published>2009-11-09T11:35:32Z</published>
	<updated>2009-11-09T11:35:32Z</updated>
	<author>
		<name>Jeremy Swigart</name>
	</author>
	<content type="html">Sorry for leaving off important data, this is Suse 10.1 with gcc 4.1.&lt;br&gt;&lt;br&gt;Johan, it has never complained about using multiple requirements like that, but I&amp;#39;ll try it with just 1. Thanks for the response.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Mon, Nov 9, 2009 at 1:35 AM, Vladimir Prus &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272350&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ghost@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;On Monday 09 November 2009 Johan Nilsson wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; Jeremy wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; [snip]&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Is there a limit to include folders? A character or command line&lt;br&gt;
&amp;gt; &amp;gt; limit that I&amp;#39;m hitting and am unaware of? If so, how can I work&lt;br&gt;
&amp;gt; &amp;gt; around it? I&amp;#39;d like to avoid splitting this library into further&lt;br&gt;
&amp;gt; &amp;gt; libraries if there is another way.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Thanks&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; project Common&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;./&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/gm&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/binds&lt;br&gt;
&amp;gt; &amp;gt;     : requirements&lt;br&gt;
&amp;gt; &amp;gt; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/mathlib&lt;br&gt;
&amp;gt; &amp;gt;     : requirements&lt;br&gt;
&amp;gt; &amp;gt; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/gmbinder2&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/guichan-0.7.1/include&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/guichan-0.7.1/addons&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/Recast/Recast/Include&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/Recast/Detour/Include&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/physfs&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/physfs/zlib123&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Archive/7z&lt;br&gt;
&amp;gt; &amp;gt;     : requirements&lt;br&gt;
&amp;gt; &amp;gt; &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Compress/Lzma&lt;br&gt;
&amp;gt; &amp;gt;     : requirements&lt;br&gt;
&amp;gt; &amp;gt; &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Compress/Branch&lt;br&gt;
&amp;gt; &amp;gt;     : requirements &amp;lt;include&amp;gt;../dependencies/sqlite3&lt;br&gt;
&amp;gt; &amp;gt;     ;&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Does Boost.Build really accept the above? Try removing the duplicate&lt;br&gt;
&amp;gt; &amp;quot;requirements&amp;quot;:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; project Common&lt;br&gt;
&amp;gt;   : requirements&lt;br&gt;
&amp;gt;     &amp;lt;include&amp;gt;./&lt;br&gt;
&amp;gt;     &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/gm&lt;br&gt;
&amp;gt;     &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/binds&lt;br&gt;
&amp;gt;     &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/mathlib&lt;br&gt;
&amp;gt;     &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/gmbinder2&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;         [...]&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     &amp;lt;include&amp;gt;../dependencies/sqlite3&lt;br&gt;
&amp;gt;      ;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If that doesn&amp;#39;t help, try invoking bjam with the &amp;quot;-d+2&amp;quot; option to see the&lt;br&gt;
&amp;gt; actual commands invoked.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;It would also help to know what compiler is used. On MSVC, we use response files,&lt;br&gt;
so the size of the command line is not important. gcc on linux enjoy a generous&lt;br&gt;
limit on the command line length. gcc on windows might be problem -- if you check&lt;br&gt;
that your version does support response files, I probably can modify boost.build&lt;br&gt;
to take advantage of that.&lt;br&gt;
&lt;br&gt;
- Volodya&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;_______________________________________________&lt;br&gt;
Unsubscribe &amp;amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-boost-build---max-include-limit--tp26262177p26272350.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266247</id>
	<title>OS X: Building on 10.6 for 10.4 should use g++-4.0 version by default</title>
	<published>2009-11-09T05:17:03Z</published>
	<updated>2009-11-09T05:17:03Z</updated>
	<author>
		<name>Boris Dušek-2</name>
	</author>
	<content type="html">Hello,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;When building on OS X with the 10.4 SDK selected, only g++ version 4.0 can be used. This is the case when compiling on 10.4 or 10.5, since there &amp;quot;g++&amp;quot; is a symlink to &amp;quot;g++-4.0&amp;quot;. But when compiling on 10.6, &amp;quot;g++&amp;quot; defaults to &amp;quot;g++-4.2&amp;quot;, and so compiling with macosx-version=10.4 fails (standard C++ library headers for 4.2 are not present in the 10.4 SDK). One solution is for user to modify user-config.jam and explicitly specify gcc version, but that seems a bit inconvenient if the build system can make that decision itself (because in the described case it&amp;#39;s not a matter of choice, but necessity).&lt;/div&gt;


&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;My bjam language knowledge is very low, so I tried to make a &amp;quot;patch&amp;quot; which &amp;quot;shows what should be done&amp;quot;, maybe someone (Volodya?) could modify it to make it actually work (and so that I can test it)?&lt;/div&gt;




&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks,&lt;/div&gt;&lt;div&gt;Boris&lt;/div&gt;
&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;darwin-cross-10.6-10.4-should-use-gcc-4.0.patch&lt;/strong&gt; (1K) &lt;a href=&quot;http://old.nabble.com/attachment/26266247/0/darwin-cross-10.6-10.4-should-use-gcc-4.0.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OS-X%3A-Building-on-10.6-for-10.4-should-use-g%2B%2B-4.0-version-by-default-tp26266247p26266247.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26262291</id>
	<title>Re: Problem with boost build - max include limit?</title>
	<published>2009-11-08T23:35:46Z</published>
	<updated>2009-11-08T23:35:46Z</updated>
	<author>
		<name>Vladimir Prus</name>
	</author>
	<content type="html">On Monday 09 November 2009 Johan Nilsson wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Jeremy wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [snip]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Is there a limit to include folders? A character or command line
&lt;br&gt;&amp;gt; &amp;gt; limit that I'm hitting and am unaware of? If so, how can I work
&lt;br&gt;&amp;gt; &amp;gt; around it? I'd like to avoid splitting this library into further
&lt;br&gt;&amp;gt; &amp;gt; libraries if there is another way.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; project Common
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;./
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/gm
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/binds
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/mathlib
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/gmbinder2
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/guichan-0.7.1/include
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/guichan-0.7.1/addons
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/Recast/Recast/Include
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/Recast/Detour/Include
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/physfs
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/physfs/zlib123
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Archive/7z
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Compress/Lzma
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Compress/Branch
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/sqlite3
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does Boost.Build really accept the above? Try removing the duplicate
&lt;br&gt;&amp;gt; &amp;quot;requirements&amp;quot;:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; project Common
&lt;br&gt;&amp;gt; &amp;nbsp; : requirements
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;./
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/gm
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/binds
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/mathlib
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/gmbinder2
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [...]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/sqlite3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If that doesn't help, try invoking bjam with the &amp;quot;-d+2&amp;quot; option to see the 
&lt;br&gt;&amp;gt; actual commands invoked.
&lt;/div&gt;&lt;br&gt;It would also help to know what compiler is used. On MSVC, we use response files,
&lt;br&gt;so the size of the command line is not important. gcc on linux enjoy a generous
&lt;br&gt;limit on the command line length. gcc on windows might be problem -- if you check
&lt;br&gt;that your version does support response files, I probably can modify boost.build
&lt;br&gt;to take advantage of that.
&lt;br&gt;&lt;br&gt;- Volodya
&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-boost-build---max-include-limit--tp26262177p26262291.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26262267</id>
	<title>Re: Boost 1.40 and stlport problem</title>
	<published>2009-11-08T23:33:23Z</published>
	<updated>2009-11-08T23:33:23Z</updated>
	<author>
		<name>Vladimir Prus-3</name>
	</author>
	<content type="html">Frank Black wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; Im trying to build Boost with stlport. I've added the following to
&lt;br&gt;&amp;gt; user-config.jam:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; using stlport : 5.2.1 :
&lt;br&gt;&amp;gt; C:/STLport-5.2.1/stlport
&lt;br&gt;&amp;gt; C:/STLport-5.2.1/lib/evc8-arm
&lt;br&gt;&amp;gt; C:/STLport-5.2.1/bin/evc8-arm ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And this is my command line:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; bjam --with-signals --build-dir=c:\wps\boostbuild build-type=complete
&lt;br&gt;&amp;gt; msvc-WCE /link=static /runtime-link=static --stdlib=stlport-5.2.1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But I get the following error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; *** argument error
&lt;br&gt;&amp;gt; * rule stlport.init ( version ? : headers : libraries * )
&lt;br&gt;&amp;gt; * called with: ( 5.2.1 : C:/STLport-5.2.1/stlport
&lt;br&gt;&amp;gt; C:/STLport-5.2.1/lib/evc8-arm
&lt;br&gt;&amp;gt; C:/STLport-5.2.1/bin/evc8-arm : &amp;nbsp;: &amp;nbsp;: &amp;nbsp;: &amp;nbsp;: &amp;nbsp;: &amp;nbsp;)
&lt;/div&gt;&lt;br&gt;The first parameter of stlport.init is called 'version', you
&lt;br&gt;pass 5.2.1 for it, and this is fine. The second parameter is
&lt;br&gt;called 'headers' and should be a single string. You pass 3
&lt;br&gt;strings to it -- only one of which seems like a directory
&lt;br&gt;with headers. Can you try:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;using stlport 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: 5.2.1 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: C:/STLport-5.2.1/stlport
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: C:/STLport-5.2.1/lib/evc8-arm C:/STLport-5.2.1/bin/evc8-arm 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;;
&lt;br&gt;&lt;br&gt;I am not sure why you pass C:/STLport-5.2.1/bin/evc8-arm -- does this directory
&lt;br&gt;exist and contain library files?
&lt;br&gt;&lt;br&gt;- Volodya
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Boost-1.40-and-stlport-problem-tp26262173p26262267.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26262224</id>
	<title>Re: Problem with boost build - max include limit?</title>
	<published>2009-11-08T23:29:20Z</published>
	<updated>2009-11-08T23:29:20Z</updated>
	<author>
		<name>Johan Nilsson-4</name>
	</author>
	<content type="html">Jeremy wrote:
&lt;br&gt;&lt;br&gt;[snip]
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a limit to include folders? A character or command line
&lt;br&gt;&amp;gt; limit that I'm hitting and am unaware of? If so, how can I work
&lt;br&gt;&amp;gt; around it? I'd like to avoid splitting this library into further
&lt;br&gt;&amp;gt; libraries if there is another way.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; project Common
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;./
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/gm
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/binds
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements
&lt;br&gt;&amp;gt; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/mathlib
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements
&lt;br&gt;&amp;gt; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/gmbinder2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/guichan-0.7.1/include
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/guichan-0.7.1/addons
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/Recast/Recast/Include
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/Recast/Detour/Include
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/physfs
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/physfs/zlib123
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Archive/7z
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements
&lt;br&gt;&amp;gt; &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Compress/Lzma
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements
&lt;br&gt;&amp;gt; &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Compress/Branch
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; : requirements &amp;lt;include&amp;gt;../dependencies/sqlite3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Does Boost.Build really accept the above? Try removing the duplicate
&lt;br&gt;&amp;quot;requirements&amp;quot;:
&lt;br&gt;&lt;br&gt;project Common
&lt;br&gt;&amp;nbsp; : requirements
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;./
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/gm
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/binds
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/mathlib
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/gmbinder2
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [...]
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;include&amp;gt;../dependencies/sqlite3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;;
&lt;br&gt;&lt;br&gt;If that doesn't help, try invoking bjam with the &amp;quot;-d+2&amp;quot; option to see the 
&lt;br&gt;actual commands invoked.
&lt;br&gt;&lt;br&gt;HTH /Johan
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-boost-build---max-include-limit--tp26262177p26262224.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26262177</id>
	<title>Problem with boost build - max include limit?</title>
	<published>2009-11-08T14:50:26Z</published>
	<updated>2009-11-08T14:50:26Z</updated>
	<author>
		<name>Jeremy Swigart</name>
	</author>
	<content type="html">I have been using bjam for a while for a project and today I wanted to get it building again after many months of sitting around with a broken gcc build. The project got a little bigger since last time, so it warranted some extra inclusions of some libraries.&lt;br&gt;
&lt;br&gt;I started getting compiler errors about certain files not found, when they were clearly in the include file list(seen below). Even more oddly, I could &amp;#39;fix&amp;#39; those errors by moving the include farther up the list, only to have other files fail later. &lt;br&gt;
&lt;br&gt;Is there a limit to include folders? A character or command line limit that I&amp;#39;m hitting and am unaware of? If so, how can I work around it? I&amp;#39;d like to avoid splitting this library into further libraries if there is another way.&lt;br&gt;
&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;&lt;br&gt;project Common&lt;br&gt;    : requirements &amp;lt;include&amp;gt;./&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/gm&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/binds&lt;br&gt;
    : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/mathlib&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/gmsrc_ex/src/3rdParty/gmbinder2&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/guichan-0.7.1/include&lt;br&gt;
    : requirements &amp;lt;include&amp;gt;../dependencies/guichan-0.7.1/addons&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/Recast/Recast/Include&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/Recast/Detour/Include&lt;br&gt;
    : requirements &amp;lt;include&amp;gt;../dependencies/physfs&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/physfs/zlib123&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Archive/7z&lt;br&gt;
    : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Compress/Lzma&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/physfs/lzma/C/Compress/Branch&lt;br&gt;    : requirements &amp;lt;include&amp;gt;../dependencies/sqlite3&lt;br&gt;
    ;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-boost-build---max-include-limit--tp26262177p26262177.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26255901</id>
	<title>Re: linking to serialization</title>
	<published>2009-11-08T09:32:12Z</published>
	<updated>2009-11-08T09:32:12Z</updated>
	<author>
		<name>g-h-d</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; This is no longer an issue.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem in my case is that I in /usr/local I did $ ./bjam --prefix = 
&lt;br&gt;&amp;gt; &amp;nbsp;~/some path
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; by ommitting the prefix and copying bin.v2 to ~some/path things follow 
&lt;br&gt;&amp;gt; there.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Actually there's no need to copy bin.v2 to a folder in ~. A small tip 
&lt;br&gt;I've learned is you can add a file from /usr/local to a project (Project 
&lt;br&gt;&amp;nbsp;&amp;gt; AddToProject) with Apple key + Shift + G
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linking-to-serialization-tp26173507p26255901.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26254966</id>
	<title>Re: Patch for building Boost 1.40 on Mac OS X Snow Leopard</title>
	<published>2009-11-08T07:53:47Z</published>
	<updated>2009-11-08T07:53:47Z</updated>
	<author>
		<name>Boris Dušek-2</name>
	</author>
	<content type="html">2009/11/8 Vladimir Prus &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26254966&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ghost@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;&amp;gt; and wants to issue errors.user-error &amp;quot;64-bit PPC compilation is not&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;h5&quot;&gt;
&amp;gt; supported when targeting OSX 10.6 or later&amp;quot;)&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;Well, at least it produces *some* diagnostics. I&amp;#39;ve added missing import&lt;br&gt;
and have now checked in in trunk. I&amp;#39;ll merge to release branch unless&lt;br&gt;
something breaks. I attach the final patch for convenience.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Now produces the error message accordingly.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I am attaching the patch again, the only difference is that it also contains the required changes to build/toolset.jam that were present in your first patch but not the others, so that there is one standalone (hopefully final) patch against 1.40.0.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Boris&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;osx-ppc64-1_40_0.diff&lt;/strong&gt; (11K) &lt;a href=&quot;http://old.nabble.com/attachment/26254966/0/osx-ppc64-1_40_0.diff&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Patch-for-building-Boost-1.40-on-Mac-OS-X-Snow-Leopard-tp26198797p26254966.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26253985</id>
	<title>Re: Patch for building Boost 1.40 on Mac OS X Snow Leopard</title>
	<published>2009-11-08T05:55:30Z</published>
	<updated>2009-11-08T05:55:30Z</updated>
	<author>
		<name>Vladimir Prus</name>
	</author>
	<content type="html">On Sunday 08 November 2009 Boris Dušek wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Volodya,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009/11/8 Vladimir Prus &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26253985&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ghost@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Explicitly specifying macosx-version=10.6 should have the desired
&lt;br&gt;&amp;gt; &amp;gt; effect.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Looks like it does not (&amp;quot;-arch ppc64&amp;quot; highlighted with asterisks):
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; bjam toolset=darwin threading=multi link=shared runtime-link=shared
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; --with-system architecture=combined address-model=32_64
&lt;br&gt;&amp;gt; &amp;gt; macosx-version=10.6
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; macosx-version-min=10.6 stage --stagedir=. variant=release -d+2
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Aha. I've misquoted '.' when splitting version number.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Works now.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; It seems that for both macosx-version and macosx-version-min, it defaults
&lt;br&gt;&amp;gt; &amp;gt; to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the OS X version of the build machine. I will try to find more info on
&lt;br&gt;&amp;gt; &amp;gt; this.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To find out the OS X version at runtime, it's possible to issue this
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; command:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; $ /usr/bin/sw_vers -productVersion
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 10.6.1
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have modified patch to invoke this, and use the result if no version is
&lt;br&gt;&amp;gt; &amp;gt; explicitly specified.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Works!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Oh, one more thing (and a funny one): errors on issuing an error message:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $ bjam toolset=darwin threading=multi link=shared runtime-link=shared
&lt;br&gt;&amp;gt; --with-system architecture=combined address-model=64 stage --stagedir=.
&lt;br&gt;&amp;gt; variant=release -d+2 &amp;&amp; echo &amp;quot;Report: `lipo -info lib/*`&amp;quot;
&lt;br&gt;&amp;gt; /Users/boris/Downloads/boost_1_40_0/tools/build/v2/tools/darwin.jam:321: in
&lt;br&gt;&amp;gt; setup-address-model
&lt;br&gt;&amp;gt; rule errors.user-error unknown in module darwin.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (this is the case when it detected 64-bit PPC compilation targetting 10.6
&lt;br&gt;&amp;gt; and wants to issue errors.user-error &amp;quot;64-bit PPC compilation is not
&lt;br&gt;&amp;gt; supported when targeting OSX 10.6 or later&amp;quot;)
&lt;/div&gt;&lt;/div&gt;Well, at least it produces *some* diagnostics. I've added missing import
&lt;br&gt;and have now checked in in trunk. I'll merge to release branch unless
&lt;br&gt;something breaks. I attach the final patch for convenience.
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks for tirelessly supporting a platform you can't test on and which I
&lt;br&gt;&amp;gt; use!
&lt;br&gt;&lt;br&gt;Thanks for testing my random attempts!
&lt;br&gt;&lt;br&gt;- Volodya
&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[osx-ppc64-try4.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;Index: darwin.jam
&lt;br&gt;===================================================================
&lt;br&gt;--- darwin.jam	(revision 57269)
&lt;br&gt;+++ darwin.jam	(working copy)
&lt;br&gt;@@ -16,6 +16,10 @@
&lt;br&gt;&amp;nbsp;import common ;
&lt;br&gt;&amp;nbsp;import generators ;
&lt;br&gt;&amp;nbsp;import path : basename ;
&lt;br&gt;+import version ;
&lt;br&gt;+import property-set ;
&lt;br&gt;+import regex ;
&lt;br&gt;+import errors ;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;## Use a framework.
&lt;br&gt;&amp;nbsp;feature framework : : free ;
&lt;br&gt;@@ -60,7 +64,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;type.set-generated-target-suffix PCH : &amp;lt;toolset&amp;gt;darwin : gch ;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-toolset.inherit-rules darwin : gcc ;
&lt;br&gt;+toolset.inherit-rules darwin : gcc : localize ;
&lt;br&gt;&amp;nbsp;toolset.inherit-flags darwin : gcc &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp;: &amp;nbsp;&amp;lt;runtime-link&amp;gt;static
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;architecture&amp;gt;arm/&amp;lt;address-model&amp;gt;32
&lt;br&gt;@@ -82,6 +86,17 @@
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;rule init ( version ? : command * : options * : requirement * )
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;# First time around, figure what is host OSX version
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if ! $(.host-osx-version) &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.host-osx-version = [ MATCH &amp;quot;^([0-9.]+)&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: [ SHELL &amp;quot;/usr/bin/sw_vers -productVersion&amp;quot; ] ] ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if $(.debug-configuration)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ECHO notice: OSX version on this machine is $(.host-osx-version) ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;# - The root directory of the tool install.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;local root = [ feature.get-values &amp;lt;root&amp;gt; : $(options) ] ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;@@ -121,6 +136,8 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;version ?= $(real-version) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;.real-version.$(version) = $(real-version) ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;# - Define the condition for this toolset instance.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;local condition =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ common.check-init-parameters darwin $(requirement) : version $(version) ] ;
&lt;br&gt;@@ -265,10 +282,105 @@
&lt;br&gt;&amp;nbsp;generators.register-c-compiler darwin.compile.m : OBJECTIVE_C : OBJ : &amp;lt;toolset&amp;gt;darwin ;
&lt;br&gt;&amp;nbsp;generators.register-c-compiler darwin.compile.mm : OBJECTIVE_CPP : OBJ : &amp;lt;toolset&amp;gt;darwin ;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-rule compile.m
&lt;br&gt;+rule setup-address-model ( targets * : sources * : properties * )
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;local ps = [ property-set.create $(properties) ] ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;local arch = [ $(ps).get &amp;lt;architecture&amp;gt; ] ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;local address-model = [ $(ps).get &amp;lt;address-model&amp;gt; ] ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;local osx-version = [ $(ps).get &amp;lt;macosx-version&amp;gt; ] ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;local gcc-version = [ $(ps).get &amp;lt;toolset-darwin:version&amp;gt; ] ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;gcc-version = $(.real-version.$(gcc-version)) ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;local options ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;local support-ppc64 = 1 ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;osx-version ?= $(.host-osx-version) ;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if $(osx-version) &amp;&amp; ! [ version.version-less [ regex.split $(osx-version) \\. ] : 10 6 ]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# When targeting 10.6:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# - gcc 4.2 will give a compiler errir if ppc64 compilation is requested
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# - gcc 4.0 will compile fine, somehow, but then fail at link time
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;support-ppc64 = ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;switch $(arch)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case combined : 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if $(address-model) = 32_64 {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if $(support-ppc64) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch i386 -arch ppc -arch x86_64 -arch ppc64 ; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Build 3-way binary
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch i386 -arch ppc -arch x86_64 ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else if $(address-model) = 64 {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if $(support-ppc64) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch x86_64 -arch ppc64 ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;errors.user-error &amp;quot;64-bit PPC compilation is not supported when targeting OSX 10.6 or later&amp;quot; ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch i386 -arch ppc ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case x86 : 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if $(address-model) = 32_64 {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch i386 -arch x86_64 ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else if $(address-model) = 64 {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch x86_64 ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch i386 ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case power :
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ! $(support-ppc64) 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;&amp; ( &amp;nbsp;$(address-model) = 32_64 || $(address-model) = 64 )
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;errors.user-error &amp;quot;64-bit PPC compilation is not supported when targeting OSX 10.6 or later&amp;quot; ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if $(address-model) = 32_64 {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch ppc -arch ppc64 ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else if $(address-model) = 64 {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch ppc64 ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch ppc ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case arm :
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options = -arch armv6 ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if $(options)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OPTIONS on $(targets) += $(options) ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;} &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+rule setup-threading ( targets * : sources * : properties * )
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;gcc.setup-threading $(targets) : $(sources) : $(properties) ;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+rule setup-fpic ( targets * : sources * : properties * )
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+rule compile.m ( targets * : sources * : properties * )
&lt;br&gt;+{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;LANG on $(&amp;lt;) = &amp;quot;-x objective-c&amp;quot; ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;setup-arch-addr-flags $(targets) : $(sources) : $(properties) ;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;actions compile.m
&lt;br&gt;@@ -280,6 +392,7 @@
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;LANG on $(&amp;lt;) = &amp;quot;-x objective-c++&amp;quot; ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gcc.setup-fpic $(targets) : $(sources) : $(properties) ;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;setup-arch-addr-flags $(targets) : $(sources) : $(properties) ;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;actions compile.mm
&lt;br&gt;@@ -287,37 +400,6 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;$(CONFIG_COMMAND)&amp;quot; $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I&amp;quot;$(INCLUDES)&amp;quot; -c -o &amp;quot;$(&amp;lt;)&amp;quot; &amp;quot;$(&amp;gt;)&amp;quot;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-# Add option selection for combined and specific architecture combinations.
&lt;br&gt;-
&lt;br&gt;-local rule arch-addr-flags ( toolset variable
&lt;br&gt;- &amp;nbsp; &amp;nbsp;: architecture : address-model + : values + : default ? )
&lt;br&gt;-{
&lt;br&gt;- &amp;nbsp; &amp;nbsp;if $(default)
&lt;br&gt;- &amp;nbsp; &amp;nbsp;{
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;flags $(toolset) $(variable)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;architecture&amp;gt;$(architecture)/&amp;lt;address-model&amp;gt;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: $(values) ;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;}
&lt;br&gt;- &amp;nbsp; &amp;nbsp;flags $(toolset) $(variable)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;architecture&amp;gt;/&amp;lt;address-model&amp;gt;$(address-model)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;architecture&amp;gt;$(architecture)/&amp;lt;address-model&amp;gt;$(address-model)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: $(values) ;
&lt;br&gt;-}
&lt;br&gt;-
&lt;br&gt;-arch-addr-flags darwin OPTIONS : combined : 32 : -arch i386 -arch ppc : default ;
&lt;br&gt;-arch-addr-flags darwin OPTIONS : combined : 64 : -arch x86_64 -arch ppc64 ;
&lt;br&gt;-arch-addr-flags darwin OPTIONS : combined : 32_64 : -arch i386 -arch ppc -arch x86_64 -arch ppc64 ;
&lt;br&gt;-
&lt;br&gt;-arch-addr-flags darwin OPTIONS : x86 : 32 : -arch i386 : default ;
&lt;br&gt;-arch-addr-flags darwin OPTIONS : x86 : 64 : -arch x86_64 ;
&lt;br&gt;-arch-addr-flags darwin OPTIONS : x86 : 32_64 : -arch i386 -arch x86_64 ;
&lt;br&gt;-
&lt;br&gt;-arch-addr-flags darwin OPTIONS : power : 32 : -arch ppc : default ;
&lt;br&gt;-arch-addr-flags darwin OPTIONS : power : 64 : -arch ppc64 ;
&lt;br&gt;-arch-addr-flags darwin OPTIONS : power : 32_64 : -arch ppc -arch ppc64 ;
&lt;br&gt;-
&lt;br&gt;-arch-addr-flags darwin OPTIONS : arm : 32 : -arch armv6 : default ;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;# Set the max header padding to allow renaming of libs for installation.
&lt;br&gt;&amp;nbsp;flags darwin.link.dll OPTIONS : -headerpad_max_install_names ;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -360,8 +442,9 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-rule link
&lt;br&gt;+rule link ( targets * : sources * : properties * )
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;setup-address-model $(targets) : $(sources) : $(properties) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;prepare-framework-path $(&amp;lt;) ;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -375,8 +458,9 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$(NEED_STRIP)&amp;quot;$(.STRIP)&amp;quot; $(NEED_STRIP)-S $(NEED_STRIP)-x $(NEED_STRIP)&amp;quot;$(&amp;lt;)&amp;quot;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-rule link.dll
&lt;br&gt;+rule link.dll ( targets * : sources * : properties * )
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;setup-address-model $(targets) : $(sources) : $(properties) ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;prepare-framework-path $(&amp;lt;) ;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Patch-for-building-Boost-1.40-on-Mac-OS-X-Snow-Leopard-tp26198797p26253985.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26253885</id>
	<title>Re: Patch for building Boost 1.40 on Mac OS X Snow Leopard</title>
	<published>2009-11-08T05:42:18Z</published>
	<updated>2009-11-08T05:42:18Z</updated>
	<author>
		<name>Boris Dušek-2</name>
	</author>
	<content type="html">Hi Volodya,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/8 Vladimir Prus &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26253885&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ghost@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;&amp;gt; &amp;gt; Explicitly specifying macosx-version=10.6 should have the desired effect.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Looks like it does not (&amp;quot;-arch ppc64&amp;quot; highlighted with asterisks):&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; bjam toolset=darwin threading=multi link=shared runtime-link=shared&lt;br&gt;
&amp;gt; --with-system architecture=combined address-model=32_64 macosx-version=10.6&lt;br&gt;
&amp;gt; macosx-version-min=10.6 stage --stagedir=. variant=release -d+2&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Aha. I&amp;#39;ve misquoted &amp;#39;.&amp;#39; when splitting version number.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Works now.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;
&amp;gt; It seems that for both macosx-version and macosx-version-min, it defaults to&lt;br&gt;
&amp;gt; the OS X version of the build machine. I will try to find more info on this.&lt;br&gt;
&amp;gt; To find out the OS X version at runtime, it&amp;#39;s possible to issue this&lt;br&gt;
&amp;gt; command:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; $ /usr/bin/sw_vers -productVersion&lt;br&gt;
&amp;gt; 10.6.1&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;I have modified patch to invoke this, and use the result if no version is&lt;br&gt;
explicitly specified.&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Works!&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Oh, one more thing (and a funny one): errors on issuing an error message:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;$ bjam toolset=darwin threading=multi link=shared runtime-link=shared --with-system architecture=combined address-model=64 stage --stagedir=. variant=release -d+2 &amp;amp;&amp;amp; echo &amp;quot;Report: `lipo -info lib/*`&amp;quot;&lt;/div&gt;
&lt;div&gt;/Users/boris/Downloads/boost_1_40_0/tools/build/v2/tools/darwin.jam:321: in setup-address-model&lt;/div&gt;&lt;div&gt;rule errors.user-error unknown in module darwin.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;(this is the case when it detected 64-bit PPC compilation targetting 10.6 and wants to issue errors.user-error &amp;quot;64-bit PPC compilation is not supported when targeting OSX 10.6 or later&amp;quot;)&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks for tirelessly supporting a platform you can&amp;#39;t test on and which I use!&lt;/div&gt;&lt;div&gt;Boris&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Patch-for-building-Boost-1.40-on-Mac-OS-X-Snow-Leopard-tp26198797p26253885.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26249296</id>
	<title>Re: linking to serialization</title>
	<published>2009-11-07T14:31:10Z</published>
	<updated>2009-11-07T14:31:10Z</updated>
	<author>
		<name>g-h-d</name>
	</author>
	<content type="html">er wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; A simple question : how do I tell XCode to load a particular library? My 
&lt;br&gt;&amp;gt; understanding was that a) I should specify the Linking Search Path in 
&lt;br&gt;&amp;gt; the build settings and b) adding the desired library to the project (Add 
&lt;br&gt;&amp;gt; to Project).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Perhaps I'm wrong about b). Could someone please confirm?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Unsubscribe &amp; other changes: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;This is no longer an issue.
&lt;br&gt;&lt;br&gt;The problem in my case is that I in /usr/local I did $ ./bjam --prefix = 
&lt;br&gt;&amp;nbsp; ~/some path
&lt;br&gt;&lt;br&gt;by ommitting the prefix and copying bin.v2 to ~some/path things follow 
&lt;br&gt;there.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linking-to-serialization-tp26173507p26249296.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26248616</id>
	<title>Re: linking to serialization</title>
	<published>2009-11-07T13:04:44Z</published>
	<updated>2009-11-07T13:04:44Z</updated>
	<author>
		<name>g-h-d</name>
	</author>
	<content type="html">&lt;br&gt;A simple question : how do I tell XCode to load a particular library? My 
&lt;br&gt;understanding was that a) I should specify the Linking Search Path in 
&lt;br&gt;the build settings and b) adding the desired library to the project (Add 
&lt;br&gt;to Project).
&lt;br&gt;&lt;br&gt;Perhaps I'm wrong about b). Could someone please confirm?
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linking-to-serialization-tp26173507p26248616.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26244880</id>
	<title>Re: linking to serialization</title>
	<published>2009-11-07T05:36:58Z</published>
	<updated>2009-11-07T05:36:58Z</updated>
	<author>
		<name>g-h-d</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt;&amp;gt; Thanks, but it hasn't worked. Note that I did replace ~ by it's expanded
&lt;br&gt;&amp;gt;&amp;gt; version but $env does not show DYLD_LIBRARY_PATH : is it supposed to?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, it is supposed to. You might want to also 'export DYLD_LIBRARY_PATH', but otherwise
&lt;br&gt;&amp;gt; I have no idea.
&lt;br&gt;&lt;br&gt;Thanks, export has worked, and ...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; First, I don't see why it's looking for dyn library if I add
&lt;br&gt;&amp;gt;&amp;gt; libboost_serialization.a to the project, not
&lt;br&gt;&amp;gt;&amp;gt; libboost_serialization.dynlib (even if I reverse their roles I still get
&lt;br&gt;&amp;gt;&amp;gt; the same linking error message as above).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This I don't know. It is likely that some library you use still wants dynamic
&lt;br&gt;&amp;gt; serialization. 
&lt;br&gt;&lt;br&gt;...I'm using a simple test case that only involves serialization and so 
&lt;br&gt;far no luck.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - Volodya
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linking-to-serialization-tp26173507p26244880.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26243088</id>
	<title>Re: linking to serialization</title>
	<published>2009-11-07T01:00:22Z</published>
	<updated>2009-11-07T01:00:22Z</updated>
	<author>
		<name>Vladimir Prus-3</name>
	</author>
	<content type="html">er wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Vladimir Prus wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Tuesday 03 November 2009 er wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi All, I use Mac OS X 10.6. After following the ./bootstrap.sh and bjam
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; install steps, I have directory like this:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ~/Library/boost_library/boost_1_40_0/include
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ~/Library/boost_library/boost_1_40_0/lib/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; libboost_serialization.a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; libboost_serialization.dynlib
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and have the include directory path to Project &amp;gt; Build &amp;gt; Search path &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Header Search Paths and and the lib directory path to Project &amp;gt; Build &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Search path &amp;gt; Library Search Paths.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In XCode I did Project &amp;gt; Add to project &amp;gt; libboost_serialization.a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Running under Debug generates this message:
&lt;br&gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dyld: Library not loaded: libboost_serialization.dylib
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Referenced from:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ~/projets/2009/Xcode/myproject/build/Debug/distribution_survival
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Reason: image not found
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I suspect this message means that you need to add
&lt;br&gt;&amp;gt;&amp;gt; ~/Library/boost_library/boost_1_40_0/lib/ to the runtime libraries path.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; On command line, this can be done via the DYLD_LIBRARY_PATH variable,
&lt;br&gt;&amp;gt;&amp;gt; e.g.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; set DYLD_LIBRARY_PATH=~/Library/boost_library/boost_1_40_0/lib/:$DYLD_LIBRARY_PATH
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; you might want to manually expand ~ to your home directory above -- I don't know
&lt;br&gt;&amp;gt;&amp;gt; how OSX shell behaves here.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I also don't know how to do this in XCode -- I suggest you first try running the
&lt;br&gt;&amp;gt;&amp;gt; binary on the command line, with the above variable setting, and if it works,
&lt;br&gt;&amp;gt;&amp;gt; check the XCode manual for a comparable setting.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; - Volodya
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks, but it hasn't worked. Note that I did replace ~ by it's expanded
&lt;br&gt;&amp;gt; version but $env does not show DYLD_LIBRARY_PATH : is it supposed to?
&lt;/div&gt;&lt;br&gt;Yes, it is supposed to. You might want to also 'export DYLD_LIBRARY_PATH', but otherwise
&lt;br&gt;I have no idea.
&lt;br&gt;&lt;br&gt;&amp;gt; First, I don't see why it's looking for dyn library if I add
&lt;br&gt;&amp;gt; libboost_serialization.a to the project, not
&lt;br&gt;&amp;gt; libboost_serialization.dynlib (even if I reverse their roles I still get
&lt;br&gt;&amp;gt; the same linking error message as above).
&lt;br&gt;&lt;br&gt;This I don't know. It is likely that some library you use still wants dynamic
&lt;br&gt;serialization. 
&lt;br&gt;&lt;br&gt;- Volodya
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linking-to-serialization-tp26173507p26243088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26241656</id>
	<title>Re: ./bootstrap.sh: line 220: ./bootstrap/jam0: No such file or directory - no longer an issue</title>
	<published>2009-11-06T18:43:27Z</published>
	<updated>2009-11-06T18:43:27Z</updated>
	<author>
		<name>g-h-d</name>
	</author>
	<content type="html">Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tuesday 03 November 2009 er wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; This is no longer an issue.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What was the problem? Was the compiler incompletely installed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - Volodya
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Dunno, but the sequence of events is this : After upgrading to Snow 
&lt;br&gt;Leopard, the architecture SDK 10.6 in XCode was not available as it 
&lt;br&gt;should have been. After reinstalling XCode it became available and the 
&lt;br&gt;bjam install was successful.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/.-bootstrap.sh%3A-line-220%3A-.-bootstrap-jam0%3A-No-such-file-or-directory-tp26004558p26241656.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26241627</id>
	<title>Re: linking to serialization</title>
	<published>2009-11-06T18:36:07Z</published>
	<updated>2009-11-06T18:36:07Z</updated>
	<author>
		<name>g-h-d</name>
	</author>
	<content type="html">Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tuesday 03 November 2009 er wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hi All, I use Mac OS X 10.6. After following the ./bootstrap.sh and bjam 
&lt;br&gt;&amp;gt;&amp;gt; install steps, I have directory like this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ~/Library/boost_library/boost_1_40_0/include
&lt;br&gt;&amp;gt;&amp;gt; ~/Library/boost_library/boost_1_40_0/lib/
&lt;br&gt;&amp;gt;&amp;gt; libboost_serialization.a
&lt;br&gt;&amp;gt;&amp;gt; libboost_serialization.dynlib
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and have the include directory path to Project &amp;gt; Build &amp;gt; Search path &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Header Search Paths and and the lib directory path to Project &amp;gt; Build &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Search path &amp;gt; Library Search Paths.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In XCode I did Project &amp;gt; Add to project &amp;gt; libboost_serialization.a
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Running under Debug generates this message:
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt; dyld: Library not loaded: libboost_serialization.dylib
&lt;br&gt;&amp;gt;&amp;gt; Referenced from: 
&lt;br&gt;&amp;gt;&amp;gt; ~/projets/2009/Xcode/myproject/build/Debug/distribution_survival
&lt;br&gt;&amp;gt;&amp;gt; Reason: image not found
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I suspect this message means that you need to add 
&lt;br&gt;&amp;gt; ~/Library/boost_library/boost_1_40_0/lib/ to the runtime libraries path.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On command line, this can be done via the DYLD_LIBRARY_PATH variable,
&lt;br&gt;&amp;gt; e.g.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	set DYLD_LIBRARY_PATH=~/Library/boost_library/boost_1_40_0/lib/:$DYLD_LIBRARY_PATH
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; you might want to manually expand ~ to your home directory above -- I don't know
&lt;br&gt;&amp;gt; how OSX shell behaves here.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I also don't know how to do this in XCode -- I suggest you first try running the
&lt;br&gt;&amp;gt; binary on the command line, with the above variable setting, and if it works,
&lt;br&gt;&amp;gt; check the XCode manual for a comparable setting.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - Volodya
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Thanks, but it hasn't worked. Note that I did replace ~ by it's expanded 
&lt;br&gt;version but $env does not show DYLD_LIBRARY_PATH : is it supposed to?
&lt;br&gt;&lt;br&gt;&lt;br&gt;First, I don't see why it's looking for dyn library if I add 
&lt;br&gt;libboost_serialization.a to the project, not 
&lt;br&gt;libboost_serialization.dynlib (even if I reverse their roles I still get 
&lt;br&gt;the same linking error message as above).
&lt;br&gt;&lt;br&gt;I found this but have yet to make sense of it.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;ved=0CAcQFjAA&amp;url=http%3A%2F%2Flists.apple.com%2Farchives%2Fxcode-users%2F2009%2Faug%2Fmsg00174.html&amp;ei=U9X0SoGGC9Pd8Qa__cDzCQ&amp;usg=AFQjCNESeXf7FSClsOlmrV8sec0Q3cfP1w&amp;sig2=QSYBK3wvb30j9v-BJpySCg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;ved=0CAcQFjAA&amp;url=http%3A%2F%2Flists.apple.com%2Farchives%2Fxcode-users%2F2009%2Faug%2Fmsg00174.html&amp;ei=U9X0SoGGC9Pd8Qa__cDzCQ&amp;usg=AFQjCNESeXf7FSClsOlmrV8sec0Q3cfP1w&amp;sig2=QSYBK3wvb30j9v-BJpySCg&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/linking-to-serialization-tp26173507p26241627.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26219955</id>
	<title>Re: boost-build archives</title>
	<published>2009-11-05T10:30:54Z</published>
	<updated>2009-11-05T10:30:54Z</updated>
	<author>
		<name>Phillip Seaver</name>
	</author>
	<content type="html">Anant Rao wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are the archives searchable? I didn’t find any option to do so on the
&lt;br&gt;&amp;gt; archives page (&lt;a href=&quot;http://lists.boost.org/boost-build/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/boost-build/&lt;/a&gt;&amp;nbsp;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If there’s another place, could you please let me know?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anant
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;As it says at &lt;a href=&quot;http://www.boost.org/community/groups.html#jamboost&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boost.org/community/groups.html#jamboost&lt;/a&gt;&amp;nbsp;you
&lt;br&gt;can use &lt;a href=&quot;http://news.gmane.org/thread.php?group=gmane.comp.lib.boost.build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/thread.php?group=gmane.comp.lib.boost.build&lt;/a&gt;&lt;br&gt;&lt;br&gt;Phillip
&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/boost-build-archives-tp26219085p26219955.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26219085</id>
	<title>boost-build archives</title>
	<published>2009-11-05T09:38:42Z</published>
	<updated>2009-11-05T09:38:42Z</updated>
	<author>
		<name>Anant Rao</name>
	</author>
	<content type="html">&lt;html xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;


&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Hi,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Are the archives searchable? I didn&amp;#8217;t find any option
to do so on the archives page (&lt;a href=&quot;http://lists.boost.org/boost-build/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/boost-build/&lt;/a&gt;
)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;If there&amp;#8217;s another place, could you please let me
know?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Anant&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/boost-build-archives-tp26219085p26219085.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26218178</id>
	<title>Re: Using bjam in the sandbox</title>
	<published>2009-11-05T08:42:26Z</published>
	<updated>2009-11-05T08:42:26Z</updated>
	<author>
		<name>Edward Diener-3</name>
	</author>
	<content type="html">Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Edward Diener wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Vladimir Prus wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Sunday 01 November 2009 Edward Diener wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; What is the reason fo the error message ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Boost.Jam -- which is the low-level build engine -- has to locate
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Boost.Build -- which is the real build system. For that purpose, it searches
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; for a file named 'boost-build.jam' that should contain directives where
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to search for Boost.Build. That 'boost-build ;' means to consult
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; environment variable called 'BOOST_BUILD_PATH', which is probably
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; not set, and usually is not required -- since boost-build.jam in Boost
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; root contains direct path to Boost.Build.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I set the BOOST_ROOT environment variable, bu it still did not work.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have looked into that more, and it appears that:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1. The library setup needs some love. In particular, it uses non-standard
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; variable names for everything.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2. It does not actually have any BoostBook docs, only doxygen -- buildable
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; by running doxygen directly.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Before I go on fixing (1), can you clarify the point (2) -- that is, what
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; docs are you planning to build. If you're building docs for some other
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; library, can you let me know which one, so that I can check it?
&lt;/div&gt;&lt;br&gt;I do not see it as your responsibility to fix a sandbox library's .bjam 
&lt;br&gt;file unless you are the one who created it originally. My basic concern 
&lt;br&gt;is that a user of Boost build can understand what is happening when bjam 
&lt;br&gt;is run, from the output that is generated.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; I went to John Torjo's logging implementation in the sandbox and
&lt;br&gt;&amp;gt;&amp;gt; attempted to run bjam there. Subsequently I saw a
&lt;br&gt;&amp;gt;&amp;gt; 'generating_the_docs.txt' file in that directory which says how to
&lt;br&gt;&amp;gt;&amp;gt; manually build the documentation using doxygen.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Nonetheless I am more concerned about the ease by which a user of
&lt;br&gt;&amp;gt;&amp;gt; Boost.Build can understand what is wrong than this particular situation.
&lt;br&gt;&amp;gt;&amp;gt; For instance the error message says:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;Unable to load Boost.Build: could not find build system.
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; C:\Programming\VersionControl\sandbox\logging\boost-build.jam attempted
&lt;br&gt;&amp;gt;&amp;gt; to load
&lt;br&gt;&amp;gt;&amp;gt; the build system by invoking
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 'boost-build ;'
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; but we were unable to find &amp;quot;bootstrap.jam&amp;quot; in the specified directory
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Are you sure there's no extra line printed right after that? Not that
&lt;br&gt;&amp;gt; it would help very much, but still.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Please consult the documentation at '&lt;a href=&quot;http://www.boost.org'&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boost.org'&lt;/a&gt;.&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; How is the user of bjam supposed to solve the problem based on this
&lt;br&gt;&amp;gt;&amp;gt; error message ? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I agree that the error message is not exactly clear. Nor is the link
&lt;br&gt;&amp;gt; direct enough.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; At present I recommend you to
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - set environment variable BOOST_BUILD_PATH to &amp;lt;boost-root&amp;gt;/tools/build/v2
&lt;br&gt;&amp;gt; - set environment variable BOOST_ROOT to &amp;lt;boost-root&amp;gt;
&lt;br&gt;&amp;gt; - let me know if any sandbox library fails to work with those settings. I'll
&lt;br&gt;&amp;gt; fix logging shortly.
&lt;/div&gt;&lt;br&gt;I set both BOOST_BUILD_PATH and BOOST_ROOT and tried bjam in the sandbox 
&lt;br&gt;logging directory. I no longer get any errors. My output is now:
&lt;br&gt;&lt;br&gt;&amp;quot;warning: No toolsets are configured.
&lt;br&gt;warning: Configuring default toolset &amp;quot;msvc&amp;quot;.
&lt;br&gt;warning: If the default is wrong, your build may not work correctly.
&lt;br&gt;warning: Use the &amp;quot;toolset=xxxxx&amp;quot; option to override our guess.
&lt;br&gt;warning: For more configuration options, please consult
&lt;br&gt;warning: 
&lt;br&gt;&lt;a href=&quot;http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;...found 1 target...&amp;quot;
&lt;br&gt;&lt;br&gt;I am glad it is no longer giving me errors but that last line is not 
&lt;br&gt;very informative either. What target has been found ? Has anything been 
&lt;br&gt;built ? This is the sort of thing that always bothers me about using 
&lt;br&gt;bjam. I think the output needs to be informative enough to tell the user 
&lt;br&gt;what has happened.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For future, what would you say about the following wording:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Boost.Build could not be located.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The Boost.Build startup module, 'bootstrap.jam', could not be found.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The search was performed in:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - Directories given by the BOOST_BUILD_PATH environment variable:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - currently none
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - In the directory of bjam.exe:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - c:/something/
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Please see &amp;lt;direct link to reference&amp;gt; for further details. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Note that this is not a wording change only -- it depends on some behaviour
&lt;br&gt;&amp;gt; changes to be done first.
&lt;/div&gt;&lt;br&gt;The above is much more informative.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; In particular, is there some Boost.Build documentation 
&lt;br&gt;&amp;gt;&amp;gt; which explains how .bjam files are found ? I do not see this as a topic
&lt;br&gt;&amp;gt;&amp;gt; heading anywhere in the Boost.Build v2 documentation.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does &lt;a href=&quot;http://tinyurl.com/ybocjzv&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tinyurl.com/ybocjzv&lt;/a&gt;&amp;nbsp;answer your questions? (This link is outside
&lt;br&gt;&amp;gt; Boost, since there are some site problems, that should resolve in 24 hours)
&lt;br&gt;&lt;br&gt;Yes, that explains it well. But should not there be docs on how .bjam 
&lt;br&gt;files are found in general ? Does all finding of .bjam files follow the 
&lt;br&gt;same rules as explained in that link, ie. up the file hierarchy and then 
&lt;br&gt;in the directories of BOOST_BUILD_PATH ? If not, then you should explain 
&lt;br&gt;how .bjam search actually works. In either case it would be welcome if 
&lt;br&gt;there were a general topic in the Boost Build doc of how Boost Build 
&lt;br&gt;finds .bjam files.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Unsubscribe &amp; other changes: &lt;a href=&quot;http://lists.boost.org/mailman/listinfo.cgi/boost-build&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.boost.org/mailman/listinfo.cgi/boost-build&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-bjam-in-the-sandbox-tp26142841p26218178.html" />
</entry>

</feed>
