开发者

How can I avoid exceeding the internal ILK size limit in visual studio?

Building a large project in Visual Studio 2005, I am getting an error in incremental linking:

LINK : fatal error LNK1210: exceeded internal ILK size limit; link with /INCREMENTAL:NO

D开发者_C百科o you know of any options other than avoiding incremental linking? In particular, are there practices that will reduce the size of the internal ILK data?


Try to add /LTCG flag to the linker


/LTCG is not valid for use with /INCREMENTAL according to MSDN.

http://msdn.microsoft.com/en-us/library/xbf3tbeh(v=vs.80).aspx


first end up all useless processes (firefox, it likes RAM), close VS and wait a while, relunch IDE, only IDE and try build. didnt help - try release build. still error - edit boot.ini there is the limit specified.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜