How can I avoid exceeding the internal ILK size li

2019-07-07 05:25发布

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

Do 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?

3条回答
在下西门庆
2楼-- · 2019-07-07 05:36

Try to add /LTCG flag to the linker

查看更多
Anthone
3楼-- · 2019-07-07 05:37

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

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

查看更多
你好瞎i
4楼-- · 2019-07-07 05:53

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.

查看更多
登录 后发表回答