> I suspect I just don't know how to use qc--interp. > >From the documentation I found, it seems to expect an input file of lua > commande generated by qc--.
Correct. qc--interp is a bytecode interpreter that uses Lua as its assembler. > qc-- has an option to generate such a file. > But when I execute > > qc-- -interp a.c-- -o a.qs -v > > it says, "Translating a.c-- to a.qs", then remains silent a long time. > > After a whil I control-C to kill it, and I find a file a.qs with what > seems to be 57408696 bytes worth of copies of the line: > > #! /usr/bin/env qc--interp > > -- Puzzled, hendrik That's a new one---I have version 20060821 on my machine, and it works fine: $ ./qc-- -interp -v -globals -o /tmp/xxx ../test2/src/hello.c-- Translating ../test2/src/hello.c-- to ../test2/src/hello.qs executing: chmod +x /tmp/xxx executing: rm ../test2/src/hello.qs $ /tmp/xxx hello, world! $ What version of OCaml are you using to compile qc-- with? Norman _______________________________________________ Cminusminus mailing list [email protected] https://cminusminus.org/mailman/listinfo/cminusminus
