<?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-24T05:37:35Z</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-26496013</id>
	<title>Re: [BGL] read_graphviz lib compiling</title>
	<published>2009-11-24T05:37:35Z</published>
	<updated>2009-11-24T05:37:35Z</updated>
	<author>
		<name>Cosimo Calabrese</name>
	</author>
	<content type="html">Jeremiah Willcock wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The Jamfile is in libs/graph/build/; it should work on all platforms and 
&lt;br&gt;&amp;gt; produces a library boost_graph (with platform-specific naming 
&lt;br&gt;&amp;gt; conventions). &amp;nbsp;The reason that read_graphviz is in a separate source 
&lt;br&gt;&amp;gt; file is that it is not a template, while write_graphviz is templated 
&lt;br&gt;&amp;gt; over the graph type.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;All clear, thanks Jeremiah.
&lt;br&gt;&lt;br&gt;Cosimo Calabrese.
&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/-BGL--read_graphviz-lib-compiling-tp26493898p26496013.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26495995</id>
	<title>Re: [BGL] read_graphviz lib compiling</title>
	<published>2009-11-24T05:36:05Z</published>
	<updated>2009-11-24T05:36:05Z</updated>
	<author>
		<name>Jeremiah Willcock</name>
	</author>
	<content type="html">On Tue, 24 Nov 2009, Cosimo Calabrese 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; I'm using MSVS 2005 and boost 1.37.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I've readed in the read_graphviz documentation that if I want to use that 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; function I must compile a lib with the source that I can found in 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; \libs\graph\src. But I can't find any *.jam file to do it. I've founded 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the Unix istruction to do it, but not for MSVS.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Just follow the usual getting started guide. E.g.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 	.\bootstrap
&lt;br&gt;&amp;gt;&amp;gt; 	.\bjam --with-graph
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks Volodya,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; there are 2 issues that have confused me:
&lt;br&gt;&amp;gt; - compared to the other boost libraries like thread, date-time, ecc...,
&lt;br&gt;&amp;gt; graph lib requires to explicitly specify it in the list of the libs of
&lt;br&gt;&amp;gt; the project; there aren't any automatic linking of the lib;
&lt;br&gt;&amp;gt; - the name of the lib isn't 'libbgl-viz' like specified in the doc:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.boost.org/doc/libs/1_31_0/libs/graph/doc/read-graphviz.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boost.org/doc/libs/1_31_0/libs/graph/doc/read-graphviz.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;but is complying to the other boost lib names:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- libboost_graph-vc80-mt.lib (release version);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;- libboost_graph-vc80-mt-gd.lib (debug version);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I haven't found this info anywhere in boost docs, but I've resolved
&lt;/div&gt;&lt;br&gt;The library name has been libboost_graph for a while, and the 
&lt;br&gt;documentation states that.
&lt;br&gt;&lt;br&gt;-- Jeremiah Willcock
&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/-BGL--read_graphviz-lib-compiling-tp26493914p26495995.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26495949</id>
	<title>Re: [BGL] read_graphviz lib compiling</title>
	<published>2009-11-24T05:33:32Z</published>
	<updated>2009-11-24T05:33:32Z</updated>
	<author>
		<name>Jeremiah Willcock</name>
	</author>
	<content type="html">On Mon, 23 Nov 2009, Cosimo Calabrese wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi to all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm using MSVS 2005 and boost 1.37.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've readed in the read_graphviz documentation that if I want to use that 
&lt;br&gt;&amp;gt; function I must compile a lib with the source that I can found in 
&lt;br&gt;&amp;gt; \libs\graph\src. But I can't find any *.jam file to do it. I've founded the 
&lt;br&gt;&amp;gt; Unix istruction to do it, but not for MSVS.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which are the correct compiler params to compile the lib?
&lt;br&gt;&amp;gt; What's the name that the lib must have?
&lt;br&gt;&amp;gt; The lib must locate in the /stage/lib directory?
&lt;br&gt;&amp;gt; Why the read_graphviz is in a separate cpp module, and not in a hpp file like 
&lt;br&gt;&amp;gt; the write_graphviz function?
&lt;/div&gt;&lt;br&gt;The Jamfile is in libs/graph/build/; it should work on all platforms and 
&lt;br&gt;produces a library boost_graph (with platform-specific naming 
&lt;br&gt;conventions). &amp;nbsp;The reason that read_graphviz is in a separate source file 
&lt;br&gt;is that it is not a template, while write_graphviz is templated over the 
&lt;br&gt;graph type.
&lt;br&gt;&lt;br&gt;-- Jeremiah Willcock
&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/-BGL--read_graphviz-lib-compiling-tp26493898p26495949.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26495421</id>
	<title>Re: [BGL] read_graphviz lib compiling</title>
	<published>2009-11-24T04:57:00Z</published>
	<updated>2009-11-24T04:57:00Z</updated>
	<author>
		<name>Cosimo Calabrese</name>
	</author>
	<content type="html">Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; I'm using MSVS 2005 and boost 1.37.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've readed in the read_graphviz documentation that if I want to use 
&lt;br&gt;&amp;gt;&amp;gt; that function I must compile a lib with the source that I can found in 
&lt;br&gt;&amp;gt;&amp;gt; \libs\graph\src. But I can't find any *.jam file to do it. I've founded 
&lt;br&gt;&amp;gt;&amp;gt; the Unix istruction to do it, but not for MSVS.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just follow the usual getting started guide. E.g.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	.\bootstrap
&lt;br&gt;&amp;gt; 	.\bjam --with-graph
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Thanks Volodya,
&lt;br&gt;&lt;br&gt;there are 2 issues that have confused me:
&lt;br&gt;- compared to the other boost libraries like thread, date-time, ecc...,
&lt;br&gt;graph lib requires to explicitly specify it in the list of the libs of
&lt;br&gt;the project; there aren't any automatic linking of the lib;
&lt;br&gt;- the name of the lib isn't 'libbgl-viz' like specified in the doc:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.boost.org/doc/libs/1_31_0/libs/graph/doc/read-graphviz.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.boost.org/doc/libs/1_31_0/libs/graph/doc/read-graphviz.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;but is complying to the other boost lib names:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- libboost_graph-vc80-mt.lib (release version);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- libboost_graph-vc80-mt-gd.lib (debug version);
&lt;br&gt;&lt;br&gt;I haven't found this info anywhere in boost docs, but I've resolved
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The library will be in stage\lib.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Which are the correct compiler params to compile the lib?
&lt;br&gt;&amp;gt;&amp;gt; What's the name that the lib must have?
&lt;br&gt;&amp;gt;&amp;gt; The lib must locate in the /stage/lib directory?
&lt;br&gt;&amp;gt;&amp;gt; Why the read_graphviz is in a separate cpp module, and not in a hpp file 
&lt;br&gt;&amp;gt;&amp;gt; like the write_graphviz function?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Only Boost.Graph maintainers can give you the authoritative answer on this, but
&lt;br&gt;&amp;gt; my guess is that parsing is more complex matter, and therefore you don't
&lt;br&gt;&amp;gt; want to have that code compiled into every module that calls read_graphviz,
&lt;br&gt;&amp;gt; as would be the case if that code were fully templated or inline.
&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;_______________________________________________
&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/-BGL--read_graphviz-lib-compiling-tp26493914p26495421.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26494897</id>
	<title>Re: Ref: setting compiler options on AIX</title>
	<published>2009-11-24T04:13:44Z</published>
	<updated>2009-11-24T04:13:44Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Tuesday 24 November 2009 15:01:03 Avi Bahra wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;On Tuesday 24 November 2009 13:16:07 Avi Bahra wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;Avi Bahra wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I am trying to set compiler options on the AIX in a similar manner to
&lt;br&gt;&amp;gt; gcc,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; but is has no effect.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; i.e
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; using vacpp &amp;nbsp;: &amp;nbsp;: &amp;nbsp;: &amp;lt;compileflags&amp;gt;-p ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I am using the 'out of box' &amp;nbsp;bjam and have not made any changes.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; For the bjam version I have:
&lt;br&gt;&amp;gt; &amp;gt; #bjam -v
&lt;br&gt;&amp;gt; &amp;gt; Boost.Jam &amp;nbsp;Version 3.1.17. OS=AIX.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;For function init, &amp;nbsp;the file vacpp.jam was located within boost at:
&lt;br&gt;&amp;gt; &amp;gt; ./tools/build/v2/tools/vacpp.
&lt;br&gt;&amp;gt; jam
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; # Configure the vacpp toolset
&lt;br&gt;&amp;gt; &amp;gt; rule init ( version ? : command * : options * )
&lt;br&gt;&amp;gt; &amp;gt; {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; local condition = [
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; common.check-init-parameters vacpp : version $(version) ] ;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; command = [ common.get-invocation-command vacpp : xlC
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : $(command) : &amp;quot;/usr/vacpp/bin/xlC&amp;quot; ] ;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; common.handle-options vacpp : $(condition) : $(command) : $(options) ;
&lt;br&gt;&amp;gt; &amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;Thanks. I've fixed this problem. See:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://svn.boost.org/trac/boost/changeset/57887&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.boost.org/trac/boost/changeset/57887&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;- Volodya
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the fix.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Currently I can not access the change set above &amp;nbsp; !
&lt;/div&gt;&lt;br&gt;That server is not the slow side; you might want to try again
&lt;br&gt;a bit later.
&lt;br&gt;&lt;br&gt;&amp;gt; Please forgive my naivety, but how does one access any fixes to bjam
&lt;br&gt;&amp;gt; Should I wait for 3.1.18 , or is this any quicker way of getting the fix ?
&lt;br&gt;&lt;br&gt;It looks like you're fallen in the same trap as other users. The system is
&lt;br&gt;called Boost.Build, and bjam is the low-level engine. While bjam version
&lt;br&gt;is somewhat important, getting new bjam won't get you any new fixes --
&lt;br&gt;you also need new Boost.Build.
&lt;br&gt;&lt;br&gt;I recommend that you grab a nightly package of Boost.Build. It's typically
&lt;br&gt;available at &lt;a href=&quot;http://boost.org/boost-build2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://boost.org/boost-build2&lt;/a&gt;, and there's 24h delay.
&lt;br&gt;For this specific fix, you can get a package from
&lt;br&gt;&lt;a href=&quot;http://lvk.cs.msu.su/~ghost/boost_build_nightly/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lvk.cs.msu.su/~ghost/boost_build_nightly/&lt;/a&gt;&amp;nbsp;-- in about 10 mins
&lt;br&gt;from now.
&lt;br&gt;The timestamp.txt file inside package has the revision -- make sure it's
&lt;br&gt;greater or equal to 57887.
&lt;br&gt;&lt;br&gt;Hope 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/Ref%3A-setting-compiler-options-on-AIX-tp26494738p26494897.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26494819</id>
	<title>Re: Custom generator problem</title>
	<published>2009-11-24T04:07:49Z</published>
	<updated>2009-11-24T04:07:49Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Tuesday 24 November 2009 11:51:17 Johan Nilsson wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Vladimir Prus wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Tuesday 17 November 2009 16:20:35 Johan Nilsson wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I've been working on a custom generator for some time now, and have
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; it mostly working now, with one annoying problem. It appears that
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; using the alias rule on a target generated with my generator
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; triggers a &amp;quot;Duplicate name of actual target&amp;quot; error.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; local copy-target = [ new file-target $(target-base) : : $(project) :
&lt;br&gt;&amp;gt; &amp;gt; $(copy-action) ] ;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; copied-targets += $(copy-target) ;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here, you create a target, and never pass it via
&lt;br&gt;&amp;gt; &amp;gt; virtual-target.register. Every newly created target must be passed
&lt;br&gt;&amp;gt; &amp;gt; via it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Did you try to register $(copied-targets) as well? It doesn't make any 
&lt;br&gt;&amp;gt; difference to me - still seeing the same problem in combination with alias. 
&lt;br&gt;&amp;gt; I just changed the last line of generate-targets to this (to no effect):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; return [ sequence.transform virtual-target.register : $(main-target) 
&lt;br&gt;&amp;gt; $(main-foo2-target) $(copy2foo2tagged-target) $(copied-targets) ] ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Actually, not having copied-targets registered has a history. In the &amp;quot;real&amp;quot; 
&lt;br&gt;&amp;gt; generator I originally registered all virtual targets, effectively the same 
&lt;br&gt;&amp;gt; as above. IIRC there was a problem with this. These are the details (caveat: 
&lt;br&gt;&amp;gt; only as I remember it, I haven't stepped through the changes in my repo):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I started to get &amp;quot;duplicate name of actual target&amp;quot; at a certain point during 
&lt;br&gt;&amp;gt; the development of the generator and I found out that by removing e.g. the 
&lt;br&gt;&amp;gt; &amp;quot;copied-targets&amp;quot; from registration I managed to get rid of those. I thought 
&lt;br&gt;&amp;gt; that made sense as I believed that virtual-targets.register descended 
&lt;br&gt;&amp;gt; through the dependency graph and found those anyway as long as they were 
&lt;br&gt;&amp;gt; dependencies of the targets that I _did_ register (such as in the example 
&lt;br&gt;&amp;gt; above). Of course, registering the virtual targets should take care of that 
&lt;br&gt;&amp;gt; duplication but I figured that I'd misunderstood something in the docs or 
&lt;br&gt;&amp;gt; that there was actually a bug lurking in there somewhere.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sorry, I've got no easy way of reproducing this latest part. Still - the 
&lt;br&gt;&amp;gt; current error occurs even with the added registration of &amp;quot;copied-targets&amp;quot;.
&lt;/div&gt;&lt;/div&gt;I'm sorry -- I examined the code you have provided, but did not run it.
&lt;br&gt;There are two issues:
&lt;br&gt;&lt;br&gt;1. If you add 'copied-targets' into the virtual-target.register call at the
&lt;br&gt;end, it won't work.
&lt;br&gt;&lt;br&gt;2. There's another such call missing.
&lt;br&gt;&lt;br&gt;I attach a project that seem to work for me.
&lt;br&gt;&lt;br&gt;For the benefit of other readers, here's a verbose explanation. A target must be passed 
&lt;br&gt;via register before it's used in any way. The 'copied-targets' are used in properties
&lt;br&gt;of 'main-action' and so should be registered before used there. Also, main-foo2-target 
&lt;br&gt;is later used in sources list of copy2foo2tagged-action and should be registered
&lt;br&gt;before use.
&lt;br&gt;&lt;br&gt;A simplified example might help. Suppose some generator is run once and constructs
&lt;br&gt;those targets
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1: a.c &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; 2: a.o = gcc.compile.c{a.c}
&lt;br&gt;&amp;nbsp; &amp;nbsp; 3: a = gcc.link{a.o}
&lt;br&gt;&lt;br&gt;Then suppose this generator is invoked again on the same sources with about the
&lt;br&gt;same properties (which can happen when alias is involved). Then, lacking any
&lt;br&gt;virtual-target.register calls, it will produce:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; 1: a.c (note that virtual-target.from-file eliminates duplicates, so this
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;the same '1' as above)
&lt;br&gt;&amp;nbsp; &amp;nbsp; 2': a.o = gcc.compile.c{a.c}
&lt;br&gt;&amp;nbsp; &amp;nbsp; 3': a = gcc.link{a.o}
&lt;br&gt;&lt;br&gt;Here, 2' and 3' are different targets from 2 and 3, which results in the error.
&lt;br&gt;If virtual-target.register is called on 2', it will return 2, and if 2 is then
&lt;br&gt;use in gcc.link action, then 3' and 3 have identical action, sources and properties,
&lt;br&gt;so virtual-target.register applied to 3' will return 3. Then 3 is returned and
&lt;br&gt;3' and 2' are left unused.
&lt;br&gt;&lt;br&gt;However, if 2' is passed to gcc.link, you end up with:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;3: a = gcc.link{2:a.o}
&lt;br&gt;&amp;nbsp; &amp;nbsp;3': a = gcc.link{2':a.o}
&lt;br&gt;&lt;br&gt;and virtual-target.register is unable to detect that those are the same.
&lt;br&gt;&lt;br&gt;Now, there's a reasonable question why is your generator invoked twice. In
&lt;br&gt;this case, it's somewhat of a performance bug -- the 'Bar' metatarget is
&lt;br&gt;actually built with effectively the same properties, so we should be able
&lt;br&gt;to completely skip the call to generators level the second time. But the
&lt;br&gt;necessary magic is not working due to combination of build-project and
&lt;br&gt;alias. I'll file a bug to examine this further.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Volodya
&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;&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;GeneratorProblem.zip&lt;/strong&gt; (6K) &lt;a href=&quot;http://old.nabble.com/attachment/26494819/0/GeneratorProblem.zip&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/Custom-generator-problem-tp26389808p26494819.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26494738</id>
	<title>Ref: setting compiler options on AIX</title>
	<published>2009-11-24T04:01:03Z</published>
	<updated>2009-11-24T04:01:03Z</updated>
	<author>
		<name>Avi Bahra</name>
	</author>
	<content type="html">
On Tuesday 24 November 2009 13:16:07 Avi Bahra wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;  Avi Bahra wrote:&lt;br&gt;
&amp;gt; &amp;gt; I am trying to set compiler options on the AIX in a similar manner to gcc,&lt;br&gt;
&amp;gt; &amp;gt; but is has no effect.&lt;br&gt;
&amp;gt; &amp;gt; i.e&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; using vacpp  :  :  : &amp;lt;compileflags&amp;gt;-p ;&lt;br&gt;
&lt;br&gt;
&amp;gt; I am using the &amp;#39;out of box&amp;#39;  bjam and have not made any changes.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; For the bjam version I have:&lt;br&gt;
&amp;gt; #bjam -v&lt;br&gt;
&amp;gt; Boost.Jam  Version 3.1.17. OS=AIX.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;  For function init,  the file vacpp.jam was located within boost at:&lt;br&gt;
&amp;gt; ./tools/build/v2/tools/vacpp.&lt;div id=&quot;:ds&quot; class=&quot;ii gt&quot;&gt;jam&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; # Configure the vacpp toolset&lt;br&gt;
&amp;gt; rule init ( version ? : command * : options * )&lt;br&gt;
&amp;gt; {&lt;br&gt;
&amp;gt;     local condition = [&lt;br&gt;
&amp;gt;         common.check-init-parameters vacpp : version $(version) ] ;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     command = [ common.get-invocation-command vacpp : xlC&lt;br&gt;
&amp;gt;         : $(command) : &amp;quot;/usr/vacpp/bin/xlC&amp;quot; ] ;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     common.handle-options vacpp : $(condition) : $(command) : $(options) ;&lt;br&gt;
&amp;gt; }&lt;br&gt;
&lt;br&gt;&amp;gt;Thanks. I&amp;#39;ve fixed this problem. See:&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt;       &lt;a href=&quot;https://svn.boost.org/trac/boost/changeset/57887&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://svn.boost.org/trac/boost/changeset/57887&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt;- Volodya&lt;/div&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;Thanks for the fix.&lt;br&gt;&lt;br&gt;Currently I can not access the change set above   !&lt;br&gt;&lt;br&gt;Please forgive my naivety, but how does one access any fixes to bjam &lt;br&gt;Should I wait for 3.1.18 , or is this any quicker way of getting the fix ?&lt;br&gt;
&lt;br&gt;   Best regards,&lt;br&gt;Ta,&lt;br&gt;    Avi&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/Ref%3A-setting-compiler-options-on-AIX-tp26494738p26494738.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26494448</id>
	<title>Re: [BGL] read_graphviz lib compiling</title>
	<published>2009-11-24T03:37:55Z</published>
	<updated>2009-11-24T03:37:55Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Tuesday 24 November 2009 10:43:57 Cosimo Calabrese wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi to all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm using MSVS 2005 and boost 1.37.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've readed in the read_graphviz documentation that if I want to use 
&lt;br&gt;&amp;gt; that function I must compile a lib with the source that I can found in 
&lt;br&gt;&amp;gt; \libs\graph\src. But I can't find any *.jam file to do it. I've founded 
&lt;br&gt;&amp;gt; the Unix istruction to do it, but not for MSVS.
&lt;br&gt;&lt;br&gt;Just follow the usual getting started guide. E.g.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .\bootstrap
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .\bjam --with-graph
&lt;br&gt;&lt;br&gt;The library will be in stage\lib.
&lt;br&gt;&lt;br&gt;&amp;gt; Which are the correct compiler params to compile the lib?
&lt;br&gt;&amp;gt; What's the name that the lib must have?
&lt;br&gt;&amp;gt; The lib must locate in the /stage/lib directory?
&lt;br&gt;&amp;gt; Why the read_graphviz is in a separate cpp module, and not in a hpp file 
&lt;br&gt;&amp;gt; like the write_graphviz function?
&lt;br&gt;&lt;br&gt;Only Boost.Graph maintainers can give you the authoritative answer on this, but
&lt;br&gt;my guess is that parsing is more complex matter, and therefore you don't
&lt;br&gt;want to have that code compiled into every module that calls read_graphviz,
&lt;br&gt;as would be the case if that code were fully templated or inline.
&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/-BGL--read_graphviz-lib-compiling-tp26493914p26494448.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26494395</id>
	<title>Re: Ref: setting compiler options on AIX</title>
	<published>2009-11-24T03:33:51Z</published>
	<updated>2009-11-24T03:33:51Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Tuesday 24 November 2009 13:16:07 Avi Bahra wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;Avi Bahra wrote:
&lt;br&gt;&amp;gt; &amp;gt; I am trying to set compiler options on the AIX in a similar manner to gcc,
&lt;br&gt;&amp;gt; &amp;gt; but is has no effect.
&lt;br&gt;&amp;gt; &amp;gt; i.e
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; using vacpp &amp;nbsp;: &amp;nbsp;: &amp;nbsp;: &amp;lt;compileflags&amp;gt;-p ;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am using the 'out of box' &amp;nbsp;bjam and have not made any changes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For the bjam version I have:
&lt;br&gt;&amp;gt; #bjam -v
&lt;br&gt;&amp;gt; Boost.Jam &amp;nbsp;Version 3.1.17. OS=AIX.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;For function init, &amp;nbsp;the file vacpp.jam was located within boost at:
&lt;br&gt;&amp;gt; ./tools/build/v2/tools/vacpp.jam
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # Configure the vacpp toolset
&lt;br&gt;&amp;gt; rule init ( version ? : command * : options * )
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; local condition = [
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; common.check-init-parameters vacpp : version $(version) ] ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; command = [ common.get-invocation-command vacpp : xlC
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : $(command) : &amp;quot;/usr/vacpp/bin/xlC&amp;quot; ] ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; common.handle-options vacpp : $(condition) : $(command) : $(options) ;
&lt;br&gt;&amp;gt; }
&lt;/div&gt;&lt;br&gt;Thanks. I've fixed this problem. See:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://svn.boost.org/trac/boost/changeset/57887&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.boost.org/trac/boost/changeset/57887&lt;/a&gt;&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/Ref%3A-setting-compiler-options-on-AIX-tp26493423p26494395.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493688</id>
	<title>Visual Studio always calls bjam even on built projects</title>
	<published>2009-11-24T02:37:51Z</published>
	<updated>2009-11-24T02:37:51Z</updated>
	<author>
		<name>Christian Auby</name>
	</author>
	<content type="html">When I start debugging VS says &amp;quot;This project is out of date&amp;quot; even if I
&lt;br&gt;just built everything. Doesn't matter if I say yes or no, debug still
&lt;br&gt;works as the exe was built previously.
&lt;br&gt;&lt;br&gt;Makefile project with build command:
&lt;br&gt;&amp;quot;bjam toolset=msvc --without-python -j2&amp;quot;
&lt;br&gt;&lt;br&gt;Christian
&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/Visual-Studio-always-calls-bjam-even-on-built-projects-tp26493688p26493688.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493423</id>
	<title>Ref: setting compiler options on AIX</title>
	<published>2009-11-24T02:16:07Z</published>
	<updated>2009-11-24T02:16:07Z</updated>
	<author>
		<name>Avi Bahra</name>
	</author>
	<content type="html">
Avi Bahra wrote:&lt;br&gt;
&amp;gt; I am trying to set compiler options on the AIX in a similar manner to gcc,&lt;br&gt;
&amp;gt; but is has no effect.&lt;br&gt;
&amp;gt; i.e&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; using vacpp  :  :  : &amp;lt;compileflags&amp;gt;-p ;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; What have i missed ?&lt;br&gt;&lt;br&gt;&lt;br&gt;Volodya wrote:&lt;br&gt;&amp;gt;What version of Boost.Build are you using and how does the function &amp;#39;init&amp;#39;&lt;br&gt;&amp;gt;in vacpp.jam look?&lt;br&gt;
&amp;gt;&lt;br&gt;&amp;gt;- Volodya&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;//================================================================&lt;br&gt;&lt;br&gt;I am using the &amp;#39;out of box&amp;#39;  bjam and have not made any changes.&lt;br&gt;&lt;br&gt;For the bjam version I have:&lt;br&gt;
#bjam -v&lt;br&gt;Boost.Jam  Version 3.1.17. OS=AIX.&lt;br&gt;&lt;br&gt; For function init,  the file vacpp.jam was located within boost at:&lt;br&gt;./tools/build/v2/tools/vacpp.jam&lt;br&gt;&lt;br&gt;# Configure the vacpp toolset&lt;br&gt;rule init ( version ? : command * : options * )&lt;br&gt;
{&lt;br&gt;    local condition = [ &lt;br&gt;        common.check-init-parameters vacpp : version $(version) ] ;&lt;br&gt;              &lt;br&gt;    command = [ common.get-invocation-command vacpp : xlC&lt;br&gt;        : $(command) : &amp;quot;/usr/vacpp/bin/xlC&amp;quot; ] ;&lt;br&gt;
                              &lt;br&gt;    common.handle-options vacpp : $(condition) : $(command) : $(options) ;&lt;br&gt;}&lt;br&gt;&lt;br&gt;   Best regards,&lt;br&gt;Ta,&lt;br&gt;    Avi&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/Ref%3A-setting-compiler-options-on-AIX-tp26493423p26493423.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492455</id>
	<title>Re: Custom generator problem</title>
	<published>2009-11-24T00:51:17Z</published>
	<updated>2009-11-24T00:51:17Z</updated>
	<author>
		<name>Johan Nilsson-4</name>
	</author>
	<content type="html">Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tuesday 17 November 2009 16:20:35 Johan Nilsson wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've been working on a custom generator for some time now, and have
&lt;br&gt;&amp;gt;&amp;gt; it mostly working now, with one annoying problem. It appears that
&lt;br&gt;&amp;gt;&amp;gt; using the alias rule on a target generated with my generator
&lt;br&gt;&amp;gt;&amp;gt; triggers a &amp;quot;Duplicate name of actual target&amp;quot; error.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; local copy-target = [ new file-target $(target-base) : : $(project) :
&lt;br&gt;&amp;gt; $(copy-action) ] ;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; copied-targets += $(copy-target) ;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here, you create a target, and never pass it via
&lt;br&gt;&amp;gt; virtual-target.register. Every newly created target must be passed
&lt;br&gt;&amp;gt; via it.
&lt;/div&gt;&lt;br&gt;Did you try to register $(copied-targets) as well? It doesn't make any 
&lt;br&gt;difference to me - still seeing the same problem in combination with alias. 
&lt;br&gt;I just changed the last line of generate-targets to this (to no effect):
&lt;br&gt;&lt;br&gt;&amp;nbsp; return [ sequence.transform virtual-target.register : $(main-target) 
&lt;br&gt;$(main-foo2-target) $(copy2foo2tagged-target) $(copied-targets) ] ;
&lt;br&gt;&lt;br&gt;Actually, not having copied-targets registered has a history. In the &amp;quot;real&amp;quot; 
&lt;br&gt;generator I originally registered all virtual targets, effectively the same 
&lt;br&gt;as above. IIRC there was a problem with this. These are the details (caveat: 
&lt;br&gt;only as I remember it, I haven't stepped through the changes in my repo):
&lt;br&gt;&lt;br&gt;I started to get &amp;quot;duplicate name of actual target&amp;quot; at a certain point during 
&lt;br&gt;the development of the generator and I found out that by removing e.g. the 
&lt;br&gt;&amp;quot;copied-targets&amp;quot; from registration I managed to get rid of those. I thought 
&lt;br&gt;that made sense as I believed that virtual-targets.register descended 
&lt;br&gt;through the dependency graph and found those anyway as long as they were 
&lt;br&gt;dependencies of the targets that I _did_ register (such as in the example 
&lt;br&gt;above). Of course, registering the virtual targets should take care of that 
&lt;br&gt;duplication but I figured that I'd misunderstood something in the docs or 
&lt;br&gt;that there was actually a bug lurking in there somewhere.
&lt;br&gt;&lt;br&gt;Sorry, I've got no easy way of reproducing this latest part. Still - the 
&lt;br&gt;current error occurs even with the added registration of &amp;quot;copied-targets&amp;quot;.
&lt;br&gt;&lt;br&gt;Thanks / 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/Custom-generator-problem-tp26389808p26492455.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493914</id>
	<title>[BGL] read_graphviz lib compiling</title>
	<published>2009-11-23T23:43:57Z</published>
	<updated>2009-11-23T23:43:57Z</updated>
	<author>
		<name>Cosimo Calabrese</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hi to all,
&lt;br&gt;
&lt;br&gt;
I'm using MSVS 2005 and boost 1.37.
&lt;br&gt;
&lt;br&gt;
I've readed in the read_graphviz documentation that if I want to use
that function I must compile a lib with the source that I can found in
\libs\graph\src. But I can't find any *.jam file to do it. I've founded
the Unix istruction to do it, but not for MSVS.
&lt;br&gt;
&lt;br&gt;
Which are the correct compiler params to compile the lib?
&lt;br&gt;
What's the name that the lib must have?
&lt;br&gt;
The lib must locate in the /stage/lib directory?
&lt;br&gt;
Why the read_graphviz is in a separate cpp module, and not in a hpp
file like the write_graphviz function?
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks in advance,
&lt;br&gt;
Cosimo Calabrese.
&lt;br&gt;
&lt;br&gt;
&lt;div class=&quot;moz-signature&quot;&gt;&lt;br&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/-BGL--read_graphviz-lib-compiling-tp26493914p26493914.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491630</id>
	<title>Re: path-constant does not work inside project-config.jam</title>
	<published>2009-11-23T23:42:00Z</published>
	<updated>2009-11-23T23:42:00Z</updated>
	<author>
		<name>Johan Nilsson-4</name>
	</author>
	<content type="html">Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Friday 20 November 2009 17:49:05 Johan Nilsson 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 Thursday 12 November 2009 17:14:30 Johan Nilsson wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I'm trying to use project-config.jam to extend BOOST_BUILD_PATH for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; my entire project. However, it seems like when using path-constant
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; here, the path remains relative to the current working directory.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Yep, it's because project-config is a weird kind of project that is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; not associated with a location -- mostly, to prevent putting
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; buildable targets there. I am playing with some alternatives now.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Ok, thanks.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I've worked around it by specifying the root directory in an
&lt;br&gt;&amp;gt;&amp;gt; enviroment variable for now, but as mentioned I'd prefer to have the
&lt;br&gt;&amp;gt;&amp;gt; project as self-containing as possible.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is fixed now, see:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://svn.boost.org/trac/boost/changeset/57836&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.boost.org/trac/boost/changeset/57836&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Just updated from trunk, and can confirm that it works for me as well.
&lt;br&gt;&lt;br&gt;Thanks / 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/path-constant-does-not-work-inside-project-config.jam-tp26319436p26491630.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493903</id>
	<title>[BGL] read_graphviz lib compiling</title>
	<published>2009-11-23T12:30:21Z</published>
	<updated>2009-11-23T12:30:21Z</updated>
	<author>
		<name>Cosimo Calabrese</name>
	</author>
	<content type="html">Hi to all,
&lt;br&gt;&lt;br&gt;I'm using MSVS 2005 and boost 1.37.
&lt;br&gt;&lt;br&gt;I've readed in the read_graphviz documentation that if I want to use 
&lt;br&gt;that function I must compile a lib with the source that I can found in 
&lt;br&gt;\libs\graph\src. But I can't find any *.jam file to do it. I've founded 
&lt;br&gt;the Unix istruction to do it, but not for MSVS.
&lt;br&gt;&lt;br&gt;Which are the correct compiler params to compile the lib?
&lt;br&gt;What's the name that the lib must have?
&lt;br&gt;The lib must locate in the /stage/lib directory?
&lt;br&gt;Why the read_graphviz is in a separate cpp module, and not in a hpp file 
&lt;br&gt;like the write_graphviz function?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;Cosimo Calabrese.
&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/-BGL--read_graphviz-lib-compiling-tp26493903p26493903.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26481624</id>
	<title>Re: setting compiler options on AIX</title>
	<published>2009-11-23T08:39:39Z</published>
	<updated>2009-11-23T08:39:39Z</updated>
	<author>
		<name>Vladimir Prus-3</name>
	</author>
	<content type="html">Avi Bahra wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I am trying to set compiler options on the AIX in a similar manner to gcc,
&lt;br&gt;&amp;gt; but is has no effect.
&lt;br&gt;&amp;gt; i.e
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; using vacpp &amp;nbsp;: &amp;nbsp;: &amp;nbsp;: &amp;lt;compileflags&amp;gt;-p ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What have i missed ?
&lt;br&gt;&lt;br&gt;What version of Boost.Build are you using and how does the function 'init'
&lt;br&gt;in vacpp.jam look?
&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/setting-compiler-options-on-AIX-tp26481305p26481624.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26481305</id>
	<title>setting compiler options on AIX</title>
	<published>2009-11-23T08:25:06Z</published>
	<updated>2009-11-23T08:25:06Z</updated>
	<author>
		<name>Avi Bahra</name>
	</author>
	<content type="html">I am trying to set compiler options on the AIX in a similar manner to gcc, but is has no effect.&lt;br&gt;i.e&lt;br&gt;&lt;br&gt;using vacpp  :  :  : &amp;lt;compileflags&amp;gt;-p ;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;&lt;br&gt;What have i missed ?&lt;br&gt;&lt;br&gt;Any help appreciated.&lt;br&gt;
&lt;br&gt;   Best regards,&lt;br&gt;Ta,&lt;br&gt;    Avi&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/setting-compiler-options-on-AIX-tp26481305p26481305.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493898</id>
	<title>[BGL] read_graphviz lib compiling</title>
	<published>2009-11-23T07:50:33Z</published>
	<updated>2009-11-23T07:50:33Z</updated>
	<author>
		<name>Cosimo Calabrese</name>
	</author>
	<content type="html">Hi to all,
&lt;br&gt;&lt;br&gt;I'm using MSVS 2005 and boost 1.37.
&lt;br&gt;&lt;br&gt;I've readed in the read_graphviz documentation that if I want to use 
&lt;br&gt;that function I must compile a lib with the source that I can found in 
&lt;br&gt;\libs\graph\src. But I can't find any *.jam file to do it. I've founded 
&lt;br&gt;the Unix istruction to do it, but not for MSVS.
&lt;br&gt;&lt;br&gt;Which are the correct compiler params to compile the lib?
&lt;br&gt;What's the name that the lib must have?
&lt;br&gt;The lib must locate in the /stage/lib directory?
&lt;br&gt;Why the read_graphviz is in a separate cpp module, and not in a hpp file 
&lt;br&gt;like the write_graphviz function?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;Cosimo Calabrese.
&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/-BGL--read_graphviz-lib-compiling-tp26493898p26493898.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26473508</id>
	<title>Re: Problem with MSVCP80D.DLL</title>
	<published>2009-11-22T23:00:38Z</published>
	<updated>2009-11-22T23:00:38Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Monday 23 November 2009 08:37:48 Derwin Dexter Sy wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I know there are a lot of threads about this, but none seem to fit my
&lt;br&gt;&amp;gt; situation.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In my case, only the Release build of my project fails with this error.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The Debug build works OK.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Initially I thought it had to do with my own project settings (I'm using
&lt;br&gt;&amp;gt; MS VS2005 w/ SP1).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But I managed to isolate the problem to the Boost library.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I built Boost Regex using VC80.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It seems odd to me that it would need MSVCP80D.DLL in a release build.
&lt;br&gt;&amp;gt; At least, I assume it was built in release. I used the Makefile that
&lt;br&gt;&amp;gt; came with the Boost download, with some minor changes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there something I can change in the Makefile to make it not need this
&lt;br&gt;&amp;gt; DLL?
&lt;/div&gt;&lt;br&gt;Derwin,
&lt;br&gt;&lt;br&gt;I am afraid I cannot comment on Makefiles. These are provided as convenience,
&lt;br&gt;and not supported. If you want to get yourself a release build of boost.regex,
&lt;br&gt;you should run the following commands in the root of Boost source tree:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .\bootstrap
&lt;br&gt;&amp;nbsp; &amp;nbsp; .\bjam.exe variant=release --with-regex
&lt;br&gt;&lt;br&gt;and the libraries will be then found in 'stage\lib' directory. 
&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/Problem-with-MSVCP80D.DLL-tp26473425p26473508.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26473494</id>
	<title>Re: Using bjam in the sandbox</title>
	<published>2009-11-22T22:58:21Z</published>
	<updated>2009-11-22T22:58:21Z</updated>
	<author>
		<name>Vladimir Prus-3</name>
	</author>
	<content type="html">Edward Diener wrote:
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; I agree that the error message is not exactly clear. Nor is the link
&lt;br&gt;&amp;gt;&amp;gt; direct enough.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; At present I recommend you to
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; - set environment variable BOOST_BUILD_PATH to &amp;lt;boost-root&amp;gt;/tools/build/v2
&lt;br&gt;&amp;gt;&amp;gt; - set environment variable BOOST_ROOT to &amp;lt;boost-root&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; - let me know if any sandbox library fails to work with those settings. I'll
&lt;br&gt;&amp;gt;&amp;gt; fix logging shortly.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I set both BOOST_BUILD_PATH and BOOST_ROOT and tried bjam in the sandbox
&lt;br&gt;&amp;gt; logging directory. I no longer get any errors. My output is now:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;warning: No toolsets are configured.
&lt;br&gt;&amp;gt; warning: Configuring default toolset &amp;quot;msvc&amp;quot;.
&lt;br&gt;&amp;gt; warning: If the default is wrong, your build may not work correctly.
&lt;br&gt;&amp;gt; warning: Use the &amp;quot;toolset=xxxxx&amp;quot; option to override our guess.
&lt;br&gt;&amp;gt; warning: For more configuration options, please consult
&lt;br&gt;&amp;gt; warning:
&lt;br&gt;&amp;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;&amp;gt; 
&lt;br&gt;&amp;gt; ...found 1 target...&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am glad it is no longer giving me errors but that last line is not
&lt;br&gt;&amp;gt; very informative either. What target has been found ? 
&lt;/div&gt;&lt;br&gt;'all' ;-)
&lt;br&gt;&lt;br&gt;&amp;gt; Has anything been
&lt;br&gt;&amp;gt; built ? This is the sort of thing that always bothers me about using
&lt;br&gt;&amp;gt; bjam. I think the output needs to be informative enough to tell the user
&lt;br&gt;&amp;gt; what has happened.
&lt;br&gt;&lt;br&gt;How about:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Nothing to do (no file targets found)
&lt;br&gt;&lt;br&gt;for the above cases, and
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Nothing to do (13 file targets up-to-date)
&lt;br&gt;&lt;br&gt;in case of a project that actually has something to build?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; For future, what would you say about the following wording:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Boost.Build could not be located.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The search was performed in:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - currently none
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - In the directory of bjam.exe:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - c:/something/
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;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;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Note that this is not a wording change only -- it depends on some behaviour
&lt;br&gt;&amp;gt;&amp;gt; changes to be done first.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The above is much more informative.
&lt;/div&gt;&lt;br&gt;OK. I've added this to my todo for 1.42
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In particular, is there some Boost.Build documentation
&lt;br&gt;&amp;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;&amp;gt; heading anywhere in the Boost.Build v2 documentation.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;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;&amp;gt; Boost, since there are some site problems, that should resolve in 24 hours)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, that explains it well. But should not there be docs on how .bjam
&lt;br&gt;&amp;gt; files are found in general ? Does all finding of .bjam files follow the
&lt;br&gt;&amp;gt; same rules as explained in that link, ie. up the file hierarchy and then
&lt;br&gt;&amp;gt; in the directories of BOOST_BUILD_PATH ? If not, then you should explain
&lt;br&gt;&amp;gt; how .bjam search actually works. In either case it would be welcome if
&lt;br&gt;&amp;gt; there were a general topic in the Boost Build doc of how Boost Build
&lt;br&gt;&amp;gt; finds .bjam files.
&lt;/div&gt;&lt;br&gt;I think the only other context when Boost.Build is searching for .jam files
&lt;br&gt;is when either 'import' or 'using' statement is found somewhere. In that case
&lt;br&gt;the named module is searched for in BOOST_BUILD_PATH, only. I've added a
&lt;br&gt;todo item to document this.
&lt;br&gt;&lt;br&gt;Thanks for feedback,
&lt;br&gt;Volodya
&lt;br&gt;&lt;br&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;&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-tp26142841p26473494.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26473425</id>
	<title>Problem with MSVCP80D.DLL</title>
	<published>2009-11-22T21:37:48Z</published>
	<updated>2009-11-22T21:37:48Z</updated>
	<author>
		<name>Derwin Dexter Sy</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=Content-Type 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;I know there are a lot of threads about this, but none seem
to fit my situation.&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;In my case, only the Release build of my project fails with
this error.&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;The Debug build works OK.&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;Initially I thought it had to do with my own project
settings (I&amp;#8217;m using MS VS2005 w/ SP1).&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;But I managed to isolate the problem to the Boost library.&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;I built Boost Regex using VC80.&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;It seems odd to me that it would need MSVCP80D.DLL in a
release build. At least, I assume it was built in release. I used the Makefile
that came with the Boost download, with some minor changes.&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;Is there something I can change in the Makefile to make it
not need this DLL?&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;Thank you.&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/Problem-with-MSVCP80D.DLL-tp26473425p26473425.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26455821</id>
	<title>Re: path-constant does not work insideproject-config.jam</title>
	<published>2009-11-21T03:51:13Z</published>
	<updated>2009-11-21T03:51:13Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Friday 20 November 2009 17:49:05 Johan Nilsson 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 Thursday 12 November 2009 17:14:30 Johan Nilsson wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I'm trying to use project-config.jam to extend BOOST_BUILD_PATH for
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; my entire project. However, it seems like when using path-constant
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; here, the path remains relative to the current working directory.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yep, it's because project-config is a weird kind of project that is
&lt;br&gt;&amp;gt; &amp;gt; not associated with a location -- mostly, to prevent putting buildable
&lt;br&gt;&amp;gt; &amp;gt; targets there. I am playing with some alternatives now.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ok, thanks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've worked around it by specifying the root directory in an enviroment 
&lt;br&gt;&amp;gt; variable for now, but as mentioned I'd prefer to have the project as 
&lt;br&gt;&amp;gt; self-containing as possible.
&lt;/div&gt;&lt;br&gt;This is fixed now, see:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://svn.boost.org/trac/boost/changeset/57836&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.boost.org/trac/boost/changeset/57836&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks,
&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/path-constant-does-not-work-inside-project-config.jam-tp26319436p26455821.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26447963</id>
	<title>Re: Building Boost on 64-bit CentOS 5.4</title>
	<published>2009-11-20T10:14:36Z</published>
	<updated>2009-11-20T10:14:36Z</updated>
	<author>
		<name>rkdelisle</name>
	</author>
	<content type="html">Interesting.  I dug into the pyport.h file and found that it has a single include - pyconfig.h&lt;br&gt;&lt;br&gt;This .h file is constructed by ./configure and supposed copied into the python Include/ directory.  In my case, it was not copied into the correct location, and pyport.h was failing to have the properly architecture configured version of variable definitions.  Specifically, LONG_BIT was defined for 32-bit by default and not 64-bit, as is my OS.  Placing the file in the right location seemed to allow boost to build without any apparent errors. &lt;br&gt;
&lt;br&gt;Thank you for your assistance.&lt;br&gt;&lt;br&gt;-Kirk&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Nov 19, 2009 at 11:35 PM, 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=26447963&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&gt;On Friday 20 November 2009 02:30:50 &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26447963&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rkdelisle@...&lt;/a&gt; wrote:&lt;br&gt;



&lt;br&gt;
&amp;gt; I&amp;#39;m trying to build boost on a 64-bit CentOS 5.4 install. I have Python&lt;br&gt;
&amp;gt; 2.6.4 built and installed at /opt/Python_2.6.4/, and I&amp;#39;ve appended the&lt;br&gt;
&amp;gt; user-config.jam file with:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; using python : 2.6 : /opt/Python_2.6.4/python : /opt/Python_2.6.4/Include :&lt;br&gt;
&amp;gt; /opt/Python_2.6.4/Lib ;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The standard system Python is 2.4.1 but the tools I&amp;#39;m using require 2.6, so&lt;br&gt;
&amp;gt; I&amp;#39;ve built this version and installed it independently of the system&lt;br&gt;
&amp;gt; version 2.4.1 to avoid any conflicts.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; As I&amp;#39;m sure you&amp;#39;ve already imagined, I get the error:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I see that this is a long standing bug, but I have yet to find a fix. I&amp;#39;ve&lt;br&gt;
&amp;gt; tried various CCFLAGS, CXXFLAGS, etc. to push for a 64-bit compile or a&lt;br&gt;
&amp;gt; 32-bit compile (-m64 or -m32).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The offending file is pyport.h - is there a 64-bit friendly version that I&lt;br&gt;
&amp;gt; don&amp;#39;t know about?&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;Does this error happen if you write a test program that includes just that file,&lt;br&gt;
and try to compile it by hand? If so, I suggest you raise the bug with CentOS folks.&lt;br&gt;
&lt;br&gt;
Did you try to look at the code that emits the error? What is it checking for?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
- Volodya&lt;br&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;/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/Building-Boost-on-64-bit-CentOS-5.4-tp26436091p26447963.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444999</id>
	<title>Re: Custom generator problem</title>
	<published>2009-11-20T07:14:17Z</published>
	<updated>2009-11-20T07:14:17Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Tuesday 17 November 2009 16:20:35 Johan Nilsson wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've been working on a custom generator for some time now, and have it 
&lt;br&gt;&amp;gt; mostly working now, with one annoying problem. It appears that using the 
&lt;br&gt;&amp;gt; alias rule on a target generated with my generator triggers a &amp;quot;Duplicate 
&lt;br&gt;&amp;gt; name of actual target&amp;quot; error.
&lt;br&gt;&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; local copy-target = [ new file-target $(target-base) : : $(project) : $(copy-action) ] ;
&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; 
&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; copied-targets += $(copy-target) ;
&lt;br&gt;&lt;br&gt;Here, you create a target, and never pass it via virtual-target.register. Every newly created
&lt;br&gt;target must be passed via it.
&lt;br&gt;&lt;br&gt;HTH,
&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/Custom-generator-problem-tp26389808p26444999.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444697</id>
	<title>Re: Library generation GCC on Windows vs Linux</title>
	<published>2009-11-20T06:55:49Z</published>
	<updated>2009-11-20T06:55:49Z</updated>
	<author>
		<name>Christian Auby</name>
	</author>
	<content type="html">How is this collision? Not too familiar with msvc dll export libs.
&lt;br&gt;&lt;br&gt;If I understand correctly the lib you need to link to use &amp;quot;hello.dll&amp;quot; is
&lt;br&gt;called &amp;quot;hello.lib&amp;quot;. The dll libs aren't put in the same directory so is
&lt;br&gt;that really an issue?
&lt;br&gt;&lt;br&gt;g++ (GCC) 3.4.5 (mingw-vista special r3)
&lt;br&gt;ln (GNU coreutils) 5.97
&lt;br&gt;MinGW-5.1.4
&lt;br&gt;&lt;br&gt;Even if MinGW at some point looked for &amp;quot;libhello.lib&amp;quot; you'd still have
&lt;br&gt;the issue of MSVC not finding &amp;quot;hello.lib&amp;quot;. Surely must be a way to make
&lt;br&gt;them both happy so you don't have to rename libs every time you build or
&lt;br&gt;keep compiler specific settings for all static libs in the Jamfile?
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;Rene Rivera wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Christian Auby wrote:
&lt;br&gt;&amp;gt;&amp;gt; Just noticed that with toolset=msvc the library is called
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;libhello.lib&amp;quot;. Most libs that comes with the MSVC compiler do not have
&lt;br&gt;&amp;gt;&amp;gt; the &amp;quot;lib&amp;quot;-prefix, so I guess boost.build should have called this
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;hello.lib&amp;quot;?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Supported by this error:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;LINK : fatal error LNK1181: cannot open input file 'hello.lib'&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; depending on &amp;quot;hello&amp;quot;-lib does not look for &amp;quot;libhello.lib&amp;quot; but
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;hello.lib&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Renaming it to &amp;quot;hello.lib&amp;quot; makes it link.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I did a manual fix of this, and with the two fixes combined the
&lt;br&gt;&amp;gt;&amp;gt; exe-jamfile works with both mingw and msvc without changes.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Fix:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; type.set-generated-target-prefix STATIC_LIB : &amp;lt;toolset&amp;gt;msvc : &amp;quot;&amp;quot; ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Unfortunately that creates a collision with MSVC DLL export LIBs. And
&lt;br&gt;&amp;gt; hence why &amp;quot;lib&amp;quot; is prefixed to the static libraries. And to be
&lt;br&gt;&amp;gt; consistent so was mingw. But at some point the Min GCC would search for
&lt;br&gt;&amp;gt; &amp;quot;libxyz.lib&amp;quot;, among a large list of other combinations, when specifying
&lt;br&gt;&amp;gt; -lxyz. Which version of MinGW are you using?
&lt;br&gt;&amp;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/Library-generation-GCC-on-Windows-vs-Linux-tp26442676p26444697.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444552</id>
	<title>Re: path-constant does not work insideproject-config.jam</title>
	<published>2009-11-20T06:49:05Z</published>
	<updated>2009-11-20T06:49:05Z</updated>
	<author>
		<name>Johan Nilsson-4</name>
	</author>
	<content type="html">Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thursday 12 November 2009 17:14:30 Johan Nilsson wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm trying to use project-config.jam to extend BOOST_BUILD_PATH for
&lt;br&gt;&amp;gt;&amp;gt; my entire project. However, it seems like when using path-constant
&lt;br&gt;&amp;gt;&amp;gt; here, the path remains relative to the current working directory.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yep, it's because project-config is a weird kind of project that is
&lt;br&gt;&amp;gt; not associated with a location -- mostly, to prevent putting buildable
&lt;br&gt;&amp;gt; targets there. I am playing with some alternatives now.
&lt;/div&gt;&lt;br&gt;Ok, thanks.
&lt;br&gt;&lt;br&gt;I've worked around it by specifying the root directory in an enviroment 
&lt;br&gt;variable for now, but as mentioned I'd prefer to have the project as 
&lt;br&gt;self-containing as possible.
&lt;br&gt;&lt;br&gt;/ 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/path-constant-does-not-work-inside-project-config.jam-tp26319436p26444552.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444206</id>
	<title>Re: Library generation GCC on Windows vs Linux</title>
	<published>2009-11-20T06:30:38Z</published>
	<updated>2009-11-20T06:30:38Z</updated>
	<author>
		<name>Rene Rivera-2</name>
	</author>
	<content type="html">Christian Auby wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Just noticed that with toolset=msvc the library is called
&lt;br&gt;&amp;gt; &amp;quot;libhello.lib&amp;quot;. Most libs that comes with the MSVC compiler do not have
&lt;br&gt;&amp;gt; the &amp;quot;lib&amp;quot;-prefix, so I guess boost.build should have called this
&lt;br&gt;&amp;gt; &amp;quot;hello.lib&amp;quot;?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Supported by this error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;LINK : fatal error LNK1181: cannot open input file 'hello.lib'&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; depending on &amp;quot;hello&amp;quot;-lib does not look for &amp;quot;libhello.lib&amp;quot; but &amp;quot;hello.lib&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Renaming it to &amp;quot;hello.lib&amp;quot; makes it link.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I did a manual fix of this, and with the two fixes combined the
&lt;br&gt;&amp;gt; exe-jamfile works with both mingw and msvc without changes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Fix:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; type.set-generated-target-prefix STATIC_LIB : &amp;lt;toolset&amp;gt;msvc : &amp;quot;&amp;quot; ;
&lt;/div&gt;&lt;br&gt;Unfortunately that creates a collision with MSVC DLL export LIBs. And 
&lt;br&gt;hence why &amp;quot;lib&amp;quot; is prefixed to the static libraries. And to be 
&lt;br&gt;consistent so was mingw. But at some point the Min GCC would search for 
&lt;br&gt;&amp;quot;libxyz.lib&amp;quot;, among a large list of other combinations, when specifying 
&lt;br&gt;-lxyz. Which version of MinGW are you using?
&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/Library-generation-GCC-on-Windows-vs-Linux-tp26442676p26444206.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444159</id>
	<title>Re: path-constant does not work inside project-config.jam</title>
	<published>2009-11-20T06:27:06Z</published>
	<updated>2009-11-20T06:27:06Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Thursday 12 November 2009 17:14:30 Johan Nilsson wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm trying to use project-config.jam to extend BOOST_BUILD_PATH for my 
&lt;br&gt;&amp;gt; entire project. However, it seems like when using path-constant here, the 
&lt;br&gt;&amp;gt; path remains relative to the current working directory.
&lt;br&gt;&lt;br&gt;Yep, it's because project-config is a weird kind of project that is
&lt;br&gt;not associated with a location -- mostly, to prevent putting buildable
&lt;br&gt;targets there. I am playing with some alternatives now.
&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/path-constant-does-not-work-inside-project-config.jam-tp26319436p26444159.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443742</id>
	<title>Re: Library generation GCC on Windows vs Linux</title>
	<published>2009-11-20T05:59:53Z</published>
	<updated>2009-11-20T05:59:53Z</updated>
	<author>
		<name>Christian Auby</name>
	</author>
	<content type="html">Just noticed that with toolset=msvc the library is called
&lt;br&gt;&amp;quot;libhello.lib&amp;quot;. Most libs that comes with the MSVC compiler do not have
&lt;br&gt;the &amp;quot;lib&amp;quot;-prefix, so I guess boost.build should have called this
&lt;br&gt;&amp;quot;hello.lib&amp;quot;?
&lt;br&gt;&lt;br&gt;Supported by this error:
&lt;br&gt;&lt;br&gt;&amp;quot;LINK : fatal error LNK1181: cannot open input file 'hello.lib'&amp;quot;
&lt;br&gt;&lt;br&gt;depending on &amp;quot;hello&amp;quot;-lib does not look for &amp;quot;libhello.lib&amp;quot; but &amp;quot;hello.lib&amp;quot;.
&lt;br&gt;&lt;br&gt;Renaming it to &amp;quot;hello.lib&amp;quot; makes it link.
&lt;br&gt;&lt;br&gt;I did a manual fix of this, and with the two fixes combined the
&lt;br&gt;exe-jamfile works with both mingw and msvc without changes.
&lt;br&gt;&lt;br&gt;Fix:
&lt;br&gt;&lt;br&gt;type.set-generated-target-prefix STATIC_LIB : &amp;lt;toolset&amp;gt;msvc : &amp;quot;&amp;quot; ;
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Friday 20 November 2009 16:12:16 Christian Auby wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; If I rename &amp;quot;libhello.lib&amp;quot; to &amp;quot;libhello.a&amp;quot; it does link as expected on
&lt;br&gt;&amp;gt;&amp;gt; MinGW. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BTW, does it really link? I though that mingw does not like the fact that
&lt;br&gt;&amp;gt; Boost.Build does not ran 'ranlib' on static libraries...
&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;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/Library-generation-GCC-on-Windows-vs-Linux-tp26442676p26443742.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443388</id>
	<title>Re: Custom generator problem</title>
	<published>2009-11-20T05:39:11Z</published>
	<updated>2009-11-20T05:39:11Z</updated>
	<author>
		<name>Johan Nilsson-4</name>
	</author>
	<content type="html">Ping?
&lt;br&gt;&lt;br&gt;Johan Nilsson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I've been working on a custom generator for some time now, and have
&lt;br&gt;&amp;gt;&amp;gt; it 
&lt;br&gt;&amp;gt;&amp;gt; mostly working now, with one annoying problem. It appears that using
&lt;br&gt;&amp;gt;&amp;gt; the 
&lt;br&gt;&amp;gt;&amp;gt; alias rule on a target generated with my generator triggers a
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;Duplicate 
&lt;br&gt;&amp;gt;&amp;gt; name of actual target&amp;quot; error.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; The generator is a custom test execution generator; in the spirit of
&lt;br&gt;&amp;gt;&amp;gt; the 
&lt;br&gt;&amp;gt;&amp;gt; built-in unit-test rule a specially named file is created if all
&lt;br&gt;&amp;gt;&amp;gt; tests 
&lt;br&gt;&amp;gt;&amp;gt; passed, which is used as a marker to determine if the test results
&lt;br&gt;&amp;gt;&amp;gt; are 
&lt;br&gt;&amp;gt;&amp;gt; up-to-date and ok.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; The generator basically does this:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; - Accepts a shared library, the &amp;quot;test library&amp;quot;, as source (contains
&lt;br&gt;&amp;gt;&amp;gt; unit 
&lt;br&gt;&amp;gt;&amp;gt; tests)
&lt;br&gt;&amp;gt;&amp;gt; - Copies the test library to the output directory
&lt;br&gt;&amp;gt;&amp;gt; - Copies all run-time dependencies (shared libs, basically) of the
&lt;br&gt;&amp;gt;&amp;gt; test 
&lt;br&gt;&amp;gt;&amp;gt; library to the output directory before running the tests
&lt;br&gt;&amp;gt;&amp;gt; - Runs the test runner, passing the name of the test library on the
&lt;br&gt;&amp;gt;&amp;gt; command-line
&lt;br&gt;&amp;gt;&amp;gt; - NOTE: It is not possible to simply extend PATH before running the
&lt;br&gt;&amp;gt;&amp;gt; tests, 
&lt;br&gt;&amp;gt;&amp;gt; as is done in testing.jam.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Optionally:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; - Generates XML output from the test runner to a file in the target
&lt;br&gt;&amp;gt;&amp;gt; directory
&lt;br&gt;&amp;gt;&amp;gt; - Copies the generated XML output files (tagged with &amp;lt;variant&amp;gt;) to a
&lt;br&gt;&amp;gt;&amp;gt; common 
&lt;br&gt;&amp;gt;&amp;gt; output directory
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; All this seems to work fine, even when running a multi-variant build
&lt;br&gt;&amp;gt;&amp;gt; (e.g. 
&lt;br&gt;&amp;gt;&amp;gt; bjam debug release). But - if I alias the test target when
&lt;br&gt;&amp;gt;&amp;gt; generating XML I 
&lt;br&gt;&amp;gt;&amp;gt; get the above error, even if only running a single-variant build.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I've been trying to reduce the code to the simplest reproducible
&lt;br&gt;&amp;gt;&amp;gt; test case, attached as a .zip archive. I'd be very grateful if
&lt;br&gt;&amp;gt;&amp;gt; someone could take a 
&lt;br&gt;&amp;gt;&amp;gt; look at the problem as I'm pretty much stumped at this point. (This
&lt;br&gt;&amp;gt;&amp;gt; is not 
&lt;br&gt;&amp;gt;&amp;gt; the real generator, as you can see by the file types.)
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; To see the problem, unzip the archive and remove the comment before
&lt;br&gt;&amp;gt;&amp;gt; the 
&lt;br&gt;&amp;gt;&amp;gt; alias rule in jamroot.jam. NOTE: The attached project probably only
&lt;br&gt;&amp;gt;&amp;gt; works 
&lt;br&gt;&amp;gt;&amp;gt; under Windows, but with minor modifications it should run under *nix
&lt;br&gt;&amp;gt;&amp;gt; as 
&lt;br&gt;&amp;gt;&amp;gt; well. The contained .dlls are just dummy text files.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks / Johan
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Unsubscribe &amp; other changes:
&lt;br&gt;&amp;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;&amp;nbsp;
&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/Custom-generator-problem-tp26389808p26443388.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443334</id>
	<title>Re: Library generation GCC on Windows vs Linux</title>
	<published>2009-11-20T05:33:19Z</published>
	<updated>2009-11-20T05:33:19Z</updated>
	<author>
		<name>Christian Auby</name>
	</author>
	<content type="html">Snip:
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;D:\dev\projects\test\hello&amp;gt;bjam -d+2 -a
&lt;br&gt;gcc.compile.c++ bin\gcc-mingw-3.4.5\debug\link-static\main.o
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;g++&amp;quot; &amp;nbsp;-ftemplate-depth-128 -O0 -fno-inline -Wall -g
&lt;br&gt;-I&amp;quot;d:\dev\bin\boost&amp;quot; -I&amp;quot;lib&amp;quot; -c -o &amp;quot;bin\gcc-mingw-3.4.5\debu
&lt;br&gt;g\link-static\main.o&amp;quot; &amp;quot;main.cpp&amp;quot;
&lt;br&gt;&lt;br&gt;gcc.link bin\gcc-mingw-3.4.5\debug\link-static\app.exe
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;g++&amp;quot; -L&amp;quot;d:\dev\bin\boost\stage\lib&amp;quot; -L&amp;quot;lib&amp;quot; &amp;nbsp; -o
&lt;br&gt;&amp;quot;bin\gcc-mingw-3.4.5\debug\link-static\app.exe&amp;quot; -Wl,--start-group
&lt;br&gt;&amp;quot;bin\gcc-mingw-3.4.5\debug\link-static\main.o&amp;quot; &amp;nbsp;-Wl,-Bstatic -lhello
&lt;br&gt;-Wl,-Bdynamic &amp;nbsp;-Wl,--end-group -g
&lt;br&gt;---
&lt;br&gt;&lt;br&gt;Yes links fine. I've used MinGW + boost.build for a while now.
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Friday 20 November 2009 16:12:16 Christian Auby wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; If I rename &amp;quot;libhello.lib&amp;quot; to &amp;quot;libhello.a&amp;quot; it does link as expected on
&lt;br&gt;&amp;gt;&amp;gt; MinGW. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; BTW, does it really link? I though that mingw does not like the fact that
&lt;br&gt;&amp;gt; Boost.Build does not ran 'ranlib' on static libraries...
&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;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/Library-generation-GCC-on-Windows-vs-Linux-tp26442676p26443334.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443278</id>
	<title>Re: Library generation GCC on Windows vs Linux</title>
	<published>2009-11-20T05:28:21Z</published>
	<updated>2009-11-20T05:28:21Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Friday 20 November 2009 16:12:16 Christian Auby wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; If I rename &amp;quot;libhello.lib&amp;quot; to &amp;quot;libhello.a&amp;quot; it does link as expected on
&lt;br&gt;&amp;gt; MinGW. 
&lt;br&gt;&lt;br&gt;BTW, does it really link? I though that mingw does not like the fact that
&lt;br&gt;Boost.Build does not ran 'ranlib' on static libraries...
&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/Library-generation-GCC-on-Windows-vs-Linux-tp26442676p26443278.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443273</id>
	<title>Re: Library generation GCC on Windows vs Linux</title>
	<published>2009-11-20T05:27:22Z</published>
	<updated>2009-11-20T05:27:22Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Friday 20 November 2009 16:12:16 Christian Auby wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; If I rename &amp;quot;libhello.lib&amp;quot; to &amp;quot;libhello.a&amp;quot; it does link as expected on
&lt;br&gt;&amp;gt; MinGW. So I think you are right in that this is a naming bug. I guess
&lt;br&gt;&amp;gt; GCC (at least Mingw) looks for both &amp;quot;hello.lib&amp;quot; and &amp;quot;libhello.a&amp;quot; with
&lt;br&gt;&amp;gt; -lhello. Problem is that boost.build names it somewhere inbetween.
&lt;br&gt;&lt;br&gt;Fixed thusly:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://svn.boost.org/trac/boost/changeset/57816&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://svn.boost.org/trac/boost/changeset/57816&lt;/a&gt;&lt;br&gt;&lt;br&gt;If you run into further mingw issues, please let me know -- I hope to
&lt;br&gt;make mingw a first class citizen, including linux-&amp;gt;mingw cross, for 1.42.
&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/Library-generation-GCC-on-Windows-vs-Linux-tp26442676p26443273.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443058</id>
	<title>Re: Library generation GCC on Windows vs Linux</title>
	<published>2009-11-20T05:12:16Z</published>
	<updated>2009-11-20T05:12:16Z</updated>
	<author>
		<name>Christian Auby</name>
	</author>
	<content type="html">If I rename &amp;quot;libhello.lib&amp;quot; to &amp;quot;libhello.a&amp;quot; it does link as expected on
&lt;br&gt;MinGW. So I think you are right in that this is a naming bug. I guess
&lt;br&gt;GCC (at least Mingw) looks for both &amp;quot;hello.lib&amp;quot; and &amp;quot;libhello.a&amp;quot; with
&lt;br&gt;-lhello. Problem is that boost.build names it somewhere inbetween.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;Vladimir Prus wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Friday 20 November 2009 15:37:47 Christian Auby wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; First I compile a simple lib, like this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; lib hello : hello.cpp ;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This creates &amp;quot;libhello.lib&amp;quot; on Mingw and &amp;quot;libhello.a&amp;quot; on Linux. However,
&lt;br&gt;&amp;gt;&amp;gt; if I compile an exe-file that requires the resulting lib (not depending
&lt;br&gt;&amp;gt;&amp;gt; on the actual target, I can't do this because the lib is compiled
&lt;br&gt;&amp;gt;&amp;gt; somewhere else):
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; lib hello ;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; exe app : hello ;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This works on Linux since -lhello automatically looks for &amp;quot;libhello.a&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt; However, on Windows this looks for &amp;quot;hello.lib&amp;quot; which doesn't exist.
&lt;br&gt;&amp;gt;&amp;gt; Seems to me the library generation on MinGW shouldn't add &amp;quot;lib&amp;quot; in front
&lt;br&gt;&amp;gt;&amp;gt; of the resulting library name, or have I missed something?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This seems like a bug -- I suspect the right solution is to use libhello.a
&lt;br&gt;&amp;gt; on mingw, but I'll need to check how the libraries are named in the
&lt;br&gt;&amp;gt; standard distribution.
&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;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/Library-generation-GCC-on-Windows-vs-Linux-tp26442676p26443058.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26442903</id>
	<title>Re: Library generation GCC on Windows vs Linux</title>
	<published>2009-11-20T04:59:28Z</published>
	<updated>2009-11-20T04:59:28Z</updated>
	<author>
		<name>Bugzilla from ghost@cs.msu.su</name>
	</author>
	<content type="html">On Friday 20 November 2009 15:37:47 Christian Auby wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; First I compile a simple lib, like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; lib hello : hello.cpp ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This creates &amp;quot;libhello.lib&amp;quot; on Mingw and &amp;quot;libhello.a&amp;quot; on Linux. However,
&lt;br&gt;&amp;gt; if I compile an exe-file that requires the resulting lib (not depending
&lt;br&gt;&amp;gt; on the actual target, I can't do this because the lib is compiled
&lt;br&gt;&amp;gt; somewhere else):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; lib hello ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; exe app : hello ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This works on Linux since -lhello automatically looks for &amp;quot;libhello.a&amp;quot;.
&lt;br&gt;&amp;gt; However, on Windows this looks for &amp;quot;hello.lib&amp;quot; which doesn't exist.
&lt;br&gt;&amp;gt; Seems to me the library generation on MinGW shouldn't add &amp;quot;lib&amp;quot; in front
&lt;br&gt;&amp;gt; of the resulting library name, or have I missed something?
&lt;/div&gt;&lt;br&gt;This seems like a bug -- I suspect the right solution is to use libhello.a
&lt;br&gt;on mingw, but I'll need to check how the libraries are named in the
&lt;br&gt;standard distribution.
&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/Library-generation-GCC-on-Windows-vs-Linux-tp26442676p26442903.html" />
</entry>

</feed>
