|
Boost-Build : |
From: badyaev_alexey (leemouse_at_[hidden])
Date: 2005-10-19 01:17:01
--- 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 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:1139: in construct from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:887: in generators.construct-types from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:492: in convert-to-consumable-types from module object(C-compiling-generator)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:317: in run-really from module object(C-compiling-generator)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:295: in object(C-compiling-generator)@2.run from module object(C-compiling-generator)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:826: in try-one-generator-really from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:873: in try-one-generator from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:1080: in construct-really from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:1139: in construct from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:887: in generators.construct-types from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:492: in convert-to-consumable-types from module object(linking-generator)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:551: in convert-multiple-sources-to-consumable-types from module object(linking-generator)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:310: in run-really from module object(linking-generator)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:295: in generator.run from module object(linking-generator)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/tools\builtin.jam:591: in object(linking-generator)@2.run from module object(linking-generator)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:826: in try-one-generator-really from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:873: in try-one-generator from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:1080: in construct-really from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:1139: in generators.construct from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/tools\builtin.jam:346: in object(lib-generator)@1.run from module object(lib-generator)@1 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:826: in try-one-generator-really from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:873: in try-one-generator from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:1080: in construct-really from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\generators.jam:1139: in generators.construct from module generators D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:1242: in construct from module object(typed-target)@27 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:1128: in object(typed-target)@27.generate from module object(typed-target)@27 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:757: in generate-really from module object(main-target)@1 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:730: in object(main-target)@1.generate from module object(main-target)@1 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:886: in targets.generate-from-reference from module targets D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:1066: in generate-dependencies from module object(install-target-class)@11 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:1107: in object(install-target-class)@11.generate from module object(install-target-class)@11 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:757: in generate-really from module object(main-target)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:730: in object(main-target)@2.generate from module object(main-target)@2 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:886: in targets.generate-from-reference from module targets D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:1066: in generate-dependencies from module object(alias-target-class)@29 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:1107: in object(alias-target-class)@29.generate from module object(alias-target-class)@29 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:757: in generate-really from module object(main-target)@3 D:/DevTools/libs/boost-1.33.0/tools/build/v2/build\targets.jam:730: in object(main-target)@3.generate from module object(main-target)@3 D:/DevTools/libs/boost-1.33.0/tools/build/v2\build-system.jam:267: in load from module build-system D:\DevTools\libs\boost-1.33.0\tools\build\v2\kernel\modules.jam:259: in import from module modules D:\DevTools\libs\boost-1.33.0\tools\build\v2\kernel\bootstrap.jam:153: in boost-build from module D:\DevTools\libs\boost-1.33.0\tools\build\v2\boost-build.jam:2: in module scope from module -- How resolve this problem? Thanks, with best regards, Alexey Badyaev
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