...or at least a simpler way. I stumbled upon a configure flag of nodejs: --node_builtin_modules_path This avoids embedding the javascript builtin modules, and let them be loaded dynamically by nodejs from a static path. This works well in debian... It would let us build nodejs without the need for node-acorn first, then simply build acorn (voilà ! c'est tout !). Some features related to repl, assert and error handling might not work, but from a quick review i think they won't prevent building node-acorn.
Bastien, since you were working on two-staged building, what do you think? Should i enable that flag by default, for a start ? Mind that upstream only designed it for debugging purposes. It would require fixing some tests, but nothing too bad. Jérémy
-- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
