For Programmers: Free Programming Magazines  


Home > Archive > VC Language > November 2005 > Are native modules subject to LTCG optimizations?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Are native modules subject to LTCG optimizations?
Angel Tsankov

2005-11-24, 7:01 pm

The VC++ 2003 linker can perform cross-module optimizations if it has
been invoked with the /LTCG option. Do such optimizations apply to
native modules (.obj and .lib files compiled without /LTCG) as well?

Alex Blekhman

2005-11-27, 3:58 am

Angel Tsankov wrote:
> The VC++ 2003 linker can perform cross-module
> optimizations if it has been invoked with the /LTCG
> option. Do such optimizations apply to native modules
> (.obj and .lib files compiled without /LTCG) as well?


/LTCG is _linker_ switch, so it's impossible to specify
/LTCG for compiler. There is /GL switch for compiler to make
binaries suitable for further link-time code generation by
linker.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com