N
news.microsoft.com
We have recently upgraded from VS2002 to VS2005 and I'm having a problem
with the linker always performing a full link even though nothing has
changed. In searching the newsgroups I found that I could add "/test" to the
linker options and it would tell me why it was causing it to re-link (full
link). This is what I get.
Linking...
LINK : file alignment: 512, section alignment: 4096
LINK : LINK options changed; performing full link
LINK : performing full link
It tells me that something changed in the link options, but it doesn't tell
me what. The other problem is that nothing was changed. I can do two builds
back to back and it will do a full re-link every time.
After fighting this for a week, I finally found something. The problem is I
don't know what to do about it.
We are a Unicode MFC (static linked) app and use the unicows layer so we can
run on 9x. Unicows layer requires the linker options "/nod:<various windows
libs>" in order to work correctly. If I remove all the "/nod" linker
options, the re-link is no longer done. If I make a small change, then
incremental linking works. This is exactly what we need. But, I can't leave
out the /nod options.
Has anyone ran into this issue and/or does anyone have a solution to this?
Thanks
Scott
with the linker always performing a full link even though nothing has
changed. In searching the newsgroups I found that I could add "/test" to the
linker options and it would tell me why it was causing it to re-link (full
link). This is what I get.
Linking...
LINK : file alignment: 512, section alignment: 4096
LINK : LINK options changed; performing full link
LINK : performing full link
It tells me that something changed in the link options, but it doesn't tell
me what. The other problem is that nothing was changed. I can do two builds
back to back and it will do a full re-link every time.
After fighting this for a week, I finally found something. The problem is I
don't know what to do about it.
We are a Unicode MFC (static linked) app and use the unicows layer so we can
run on 9x. Unicows layer requires the linker options "/nod:<various windows
libs>" in order to work correctly. If I remove all the "/nod" linker
options, the re-link is no longer done. If I make a small change, then
incremental linking works. This is exactly what we need. But, I can't leave
out the /nod options.
Has anyone ran into this issue and/or does anyone have a solution to this?
Thanks
Scott