[cfe-dev] Some clang benchmarking on Windows

Óscar Fuentes ofv at wanadoo.es
Mon Oct 11 13:50:39 PDT 2010


Francois Pichet <pichet2000 at gmail.com> writes:

> ok but if you give /GL to the compiler you need to give /LTCG to the
> linker.. how do u do that?

>From the second web page you linked:

"The linker invokes link-time code generation if it is passed a module
that was compiled with /GL or an MSIL module (see .netmodule Files as
Linker Input for more information). If you do not explicitly specify
/LTCG when passing /GL or MSIL modules to the linker, the linker will
eventually detect this and restart the link with /LTCG."



More information about the cfe-dev mailing list