|
Boost-Build : |
From: andrewjmcd (andrewjmcd_at_[hidden])
Date: 2005-10-20 00:56:47
--- In jamboost_at_[hidden], "badyaev_alexey" <leemouse_at_m...> wrote:
>
> --- In jamboost_at_[hidden], Reece Dunn msclrhd_at_h... wrote:
> > exe citrus : main.c parser.lemon ;
> >
> > should be enough - bjam will pick up and compile both parser.c and
> > parser_opcodes.c.
>
> Thanks for your help! But I have error when building project now...
> Here is my lemon.jar:
>
> ##########################################################################
> # LEMON parser generator
> ##########################################################################
> import type ;
> import generators ;
>
> type.register LEMON : lemon ;
> generators.register-standard lemon.lemon
> : LEMON
> : C H C(opcodes) H(opcodes) ;
>
> rule init ( )
> {
> }
>
> actions lemon
> {
> lemon -q $(>) $(<[1])
> cat $(<[2]) vdbe.c | awk -f mkopcodeh.awk > $(<[4])
> sort -n -b +2 $(<[4]) | awk -f mkopcodec.awk > $(<[3])
> }
> ##########################################################################
> # EOF: lemon.jam
>
> And here is BBv2 output:
> --
> D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:1086:
> in construct-really from module generators
> error: Ambiguity found when searching for best transformation
This is the same results I get with my versioning generator.
A simple project is in the Files directory.
bjam_version.zip
Volodya wrote in message # 11614
> I've modified the generator search logic so that if there are two generators
> that could be run to consume the same source, and they both run sucessfully,
> it's an error. Previously, this case was just ignored.
The versioning project does work for boost 1.31
I can't suggest anything because I don't understand the intricacies of the jam files.
Andrew
--7-0214997781-4471518672=:9 Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<br>--- In jamboost_at_[hidden], "badyaev_alexey" <leemouse_at_m...>wrote:<br>><br>> --- In jamboost_at_[hidden], Reece Dunn msclrhd_at_h... wrote:<br>> > exe citrus : main.c parser.lemon ;<br>> > <br>> > should be enough - bjam will pick up and compile both parser.cand<br>> > parser_opcodes.c.<br>> <br>> Thanks for your help! But I have error when building project now...<br>> Here is my lemon.jar:<br>> <br>> ##########################################################################<br>> # LEMON parser generator<br>> ##########################################################################<br>> import type ;<br>> import generators ;<br>> <br>> type.register LEMON : lemon ;<br>> generators.register-standard lemon.lemon<br>> : LEMON<br>> : C H C(opcodes) H(opcodes) ;<br>> <br>> rule init ( )<br>> {<br>> }<br>> <br>> actions lemon<br>> {<br>> lemon -q$(><img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/03.gif"> $(<[1])<br>> cat $(<[2]) vdbe.c | awk -f mkopcodeh.awk >$(<[4])<br>> sort -n -b +2 $(<[4]) | awk -f mkopcodec.awk > $(<[3])<br>> }<br>> ##########################################################################<br>> # EOF: lemon.jam<br>> <br>> And here is BBv2 output:<br>> --<br>> D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:1086:<br>> in construct-really from module generators<br>> error: Ambiguity found when searching for best transformation<br><br><br><span style="font-family: 'courier';">This is the same results I get with my versioning generator.<br>A simple project is in the Files directory.<br><br></span> <span class="title"> bjam_version.zip<br><br></span>Volodya wrote in message # 11614<br><span style="color: rgb(0, 128, 255);font-weight: bold;">> I've modified the generatorsearch logic so that if there are two generators</span><br style="color:rgb(0, 128, 255);font-weight: bold;"> <span style="color: rgb(0, 128, 255);font-weight: bold;">> that could be run to consume the same source, and they both run sucessfully,</span><br style="color: rgb(0, 128, 255);font-weight: bold;"> <span style="color: rgb(0, 128, 255);font-weight: bold;">> it's an error. Previously, this case was just ignored.</span><br style="color: rgb(0, 128, 255);font-weight: bold;"> <br>The versioning project does work for boost 1.31<br><br>I can't suggest anything because I don't understand the intricacies of the jam files.<br><br>Andrew<br><br><span class="title"> </span><br>
--7-0214997781-4471518672=:9--
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