> > * compiling takes a fairly long time if compared with native compilers, > such as MSVC or GCC. > > Note that if your compiling in a VM (as I think read below in one of your replies), and the source code is in a shared directory (shared with the host filesystem), then this will be *extremely slow* (at least in VirtualBox which I'm using).
What I'm doing is to first rsync the source code into the local VM's filesystem, and than compile, preferably through ninja which shaves off a couple more seconds and automatically distributes work over available CPU cores. With this the entire compile including linking is easily faster than a native VStudio compile, but slower than a native clang compile because of emscripten's final code generation stage. YMMV of course (depending on how big your code base is). Cheers, -Floh. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
