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