Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Project Only: Link only ... fails

Andrew_Smith
重要分销商 I
1,199 次查看

This right click menu option in Visual studio used to do what it says and just link.  Now it deletes intermediate files first and then of course can not possibly do a link.  Using VS2010 with Fortran Compiler XE 13.1.3.198.

0 项奖励
10 回复数
Steven_L_Intel1
1,199 次查看

I can't reproduce this. Please attach a ZIP of the buildlog.htm after you see this.

0 项奖励
Andrew_Smith
重要分销商 I
1,199 次查看

It seams to do it in debug config but not in release

0 项奖励
Andrew_Smith
重要分销商 I
1,199 次查看

Actually, it is not related to the configuration. The issue does not reproduce if all compilation is up to date. But try compiling one file in a project, then do the link only.

0 项奖励
Steven_L_Intel1
1,199 次查看

Ok, I'll see if I can reproduce it.

0 项奖励
andrew_4619
名誉分销商 III
1,199 次查看

Just to clarify I am thinking right click the project in solution explorer and expand the "project only" pop uup menu item.

My options in VS2010 (shell) are "Build Only" , "Rebuild Only", "Clean Only" there is no Link Only option should there be? And what would be the usage, if the obj files are up to date and the exe isn't then "build only" just does a link anyway? Perhaps I am missing something.

 

 

0 项奖励
Andrew_Smith
重要分销商 I
1,199 次查看

Yes there should be a "Link Only" choice. See attached.

The usefulness is for a quick and dirty link where you are sure you did not change any interface details. I would always do a final full build, but during development it can waste half a life waiting for unnecessary module cascades to work through. Can't wait for sub-modules.

0 项奖励
andrew_4619
名誉分销商 III
1,199 次查看

Andrew Smith wrote:
The usefulness is for a quick and dirty link where you are sure you did not change any interface details.

 

That is an excellent point, why haven't I thought of that useful tip. Probably because I don't have that option I would guess. It the the VS shell you are using or a full VS? 

0 项奖励
Andrew_Smith
重要分销商 I
1,199 次查看

I am using full VS. Visual Studio 2010 Professional.

Remember to right click the changed file and "Compile" before doing the Link Only.

It the link failure going to be fixed ?

0 项奖励
andrew_4619
名誉分销商 III
1,199 次查看

Yes I don't get that option (see screen shot) perhaps it is because I have VS Shell only?

Can I have this feature please?

0 项奖励
Steven_L_Intel1
1,199 次查看

I can't reproduce the problem in VS2010.

As for adding this to the shell, I will submit a feature request.

0 项奖励
回复