kripken/emscripten — Issue #305: Optimizations
Author: Edrom01
Created: 2012-03-08 18:12:58+00:00
State: open

Hi,
I need to understand on what stages, the optimization flags works.

My process:

For each projects
(1) compile all .cpp to .bc
(2) link all .bc in one .bc

(3) link all project .bc in one big .bc
(4) generate js from the final big.bc

If I undestand well the documentation
>Note: Optimizations are only done when
>compiling to JavaScript, not to intermediate
>bitcode.

I can't apply optimisation in my process, right ?
I shoud instead, do something like that "compile all .cpp to one .js" ?