Re: [v8-users] How to avoid LTCG warning?

46 views
Skip to first unread message
Message has been deleted

Søren Gjesse

unread,
Jun 7, 2011, 4:16:13 AM6/7/11
to v8-u...@googlegroups.com
Hi,

When the V8 library is build with SCons the default is to turn on "link-time code generation" (ltcg), which means option /GL when compiling and option /LTCG when linking. You can either turn that on in your project as well or turn it off when building the V8 library by passing the option msvcltcg=off to SCons. See http://msdn.microsoft.com/en-us/magazine/cc301698.aspx for some background.

Regards,
Søren

On Tue, Jun 7, 2011 at 07:54, Nat <nat....@gmail.com> wrote:
I saw this warning when trying to link with v8.lib. How to avoid it?

1>  v8.lib(api.obj) : MSIL .netmodule or module compiled with /GL 
found; restarting link with /LTCG; add /LTCG to the link command line 
to improve linker performance 

Thanks,

--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users

Reply all
Reply to author
Forward
0 new messages