I have to remove the trailing slash on the -I parameter to pacify
AmigaOS (nsgenbind tries to open javascript/WebIDL//dom.idl otherwise,
which will never work)
nsgenbind -I javascript/WebIDL -d build-amiga-amiga/window.d -o build-amiga-amiga/window.c javascript/jsapi/window.bnd
It then crashes with this stack trace:
Stack trace:
[src/webidl-ast.c:45] webidl_node_prepend()+0x14 (section 1 @ 0x89E8)
[src/webidl-ast.c:403] webidl_parsefile()+0xd4 (section 1 @ 0x8D64)
webidl_file_cb()+0x1c (section 1 @ 0x9C78)
genbind_node_for_each_type()+0x8c (section 1 @ 0x91A4)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/nsgenbind-ast.c:82] genbind_node_for_each_type()+0x44 (section 1 @ 0x915C)
[src/jsapi-libdom.c:45] jsapi_libdom_output()+0xc4 (section 1 @ 0x9D84)
[src/nsgenbind.c:131] main()+0x214 (section 1 @ 0x8780)
native kernel module newlib.library.kmod+0x00002094
native kernel module newlib.library.kmod+0x00002cf4
native kernel module newlib.library.kmod+0x00002eb8
_start()+0x170 (section 1 @ 0x170)
native kernel module dos.library.kmod+0x0002295c
native kernel module kernel+0x0003b630
native kernel module kernel+0x0003b6b0
My Windows (Cygwin) build is crashing too, although it does actually
do something before it crashes, but hasn't yet managed to generate
htmldocument.c (it did generate htmlcollection.c and maybe some other
files)
Any ideas?
Chris
No comments:
Post a Comment