Hi,

I am having a poke around looking for ways to improve link times and came 
across this:

> It's more efficient to create a hierarchy, linking .os into bigger .bc 
files

How exactly do I do this? Is it as simple as 'g++ obj1.o obj2.o obj3.o -o 
mylib.bc'? Can I then link with 'mylib.bc' the way I would with a '.a' file?

I'm currently archiving all my '.o' files using the 'emar' tool and linking 
with the resultant '.a' archives. All told, there are probably around 
100-ish object files (probably more) but only about 10-ish archives, and 
linking with these is taking ages, about 50s. I assume this is more or less 
the same as just linking with the 100 object files?

Bye!
Mark




-- 
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.

Reply via email to