Extremely long link times in VS2005 (link.exe error code 6)

Joined
Jan 10, 2007
Messages
43,898
Location
In The Machine
I'm working on an unmanaged C++ project that has extremely long link times (2 and a half minutes), even when a single .cpp file has changed, and incremental linking is turned on.

I added /test to the linker options in the VS IDE, and it has started giving me a project build error:

"Project : error PRJ0002 : Error result 6 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\link.exe'."

I have no idea what error code 6 means, and google doesn't seem to know either.

I added /verbose to the linker options as well.* In this case, I can see that when I get this error, the linker is actually doing an incremental link (only the file I changed is considered).

My suspicion is that when /test is not specified, the IDE or the linker is seeing this error code 6, and silently relinking.

Can anyone shed any light on this?* I've probably spend DAYS waiting for the linker at this point.

Thanks!


More...

View All Our Microsoft Related Feeds
 
Back
Top