Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-06-16 01:36:07


Hi Mark,

> Anyway, I got the latest and built then tried building the
> example/libraries example and, when using msvc, I am down to
> a single warning:
>
> 'warning: using independent target <plib1\bin\msvc\debug>lib1.rsp'
>
> just as Vladimir mentioned.

I've just committed a change which should remove this warning as well. In case
anonymous CVS is slow, the patch is attached.

> However, I also have Cygwin gcc installed. If I put 'using gcc ;'
> in my user-config.jam file I get the following:
>
> ...found 18 targets...
> ...updating 6 targets...
> gcc.compile.c++ app\bin\gcc\debug\app.o
> spawn: No such file or directory

Hmm.... I think this issue has arisen in past, but I don't remember what was
the cause. Rene, you surely know, can you tell?

In the meantime, maybe you can try rebuilding bjam under cygwin and trying
again -- but this is wild guess.

> If I use 'using gcc : 3.3.1 gcc ;' instead then I get:
>
> ...found 18 targets...
> ...updating 4 targets...
> gcc.compile.c++ app\bin\gcc-3.3.1\debug\app.o
> gcc: installation problem, cannot exec `cc1plus': No such file or
> directory
>
>
>
> "gcc" -Wall -ftemplate-depth-100 -O0 -fno-inline -g -I"lib1\include"
> -c -o "app\bin\gcc-3.3.1\debug\app.o" "app\app.cpp"
>
> ...failed gcc.compile.c++ app\bin\gcc-3.3.1\debug\app.o...
> gcc.compile.c++ lib1\bin\gcc-3.3.1\debug\lib1.o
> gcc: installation problem, cannot exec `cc1plus': No such file or
> directory
>
> "gcc" -Wall -ftemplate-depth-100 -O0 -fno-inline -g -c -o
> "lib1\bin\gcc
> -3.3.1\debug\lib1.o" "lib1\lib1.cpp"
>
> ...failed gcc.compile.c++ lib1\bin\gcc-3.3.1\debug\lib1.o...
> ...skipped <plib1\bin\gcc-3.3.1\debug>lib1.dll for lack of
> <plib1\bin\gcc-3.3.1\
> debug>lib1.o...
> ...skipped <papp\bin\gcc-3.3.1\debug>app.exe for lack of
> <papp\bin\gcc-3.3.1\deb
> ug>app.o...
> ...failed updating 2 targets...
> ...skipped 2 targets...
>
> This is a standard cygwin install. This used to work with the 2.0-m9.1
> release on sourceforge. Any ideas?

Does invoking "gcc" works in cygwin shell? Try typing any of the failed
command above.

- Volodya
 --Boundary-00=_Xp+zAbvRdSTYLoo Content-Type: text/x-diff;
charset="iso-8859-1";
name="generators.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="generators.diff"

Index: build/generators.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/build/generators.jam,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- build/generators.jam 26 May 2004 10:48:16 -0000 1.69
+++ build/generators.jam 16 Jun 2004 06:32:29 -0000 1.70
@@ -1010,6 +1010,9 @@
ensure-type $(sources) ;
}

+ # Intermediate targets are not passed to generators
+ # and just returned unmodified.
+ local intermediate ;
if ! $(.construct-stack)
{
local sources2 ;
@@ -1019,6 +1022,10 @@
{
sources2 += $(s) ;
}
+ else
+ {
+ intermediate += $(s) ;
+ }
}
sources = $(sources2) ;
}
@@ -1051,7 +1058,12 @@
decrease-indent ;

.construct-stack = $(.construct-stack[2-]) ;
-
+
+ if ! $(.construct-stack)
+ {
+ result += $(intermediate) ;
+ }
+
# For all targets of 'allowed-type', reset the 'intermediate' attribute.
if ! $(.construct-stack) && $(allowed-type) != * # This is first invocation in stack
{
 --Boundary-00=_Xp+zAbvRdSTYLoo--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk