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
Valued Contributor I
1,178 Views

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 Kudos
10 Replies
Steven_L_Intel1
Employee
1,178 Views

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

0 Kudos
Andrew_Smith
Valued Contributor I
1,178 Views

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

0 Kudos
Andrew_Smith
Valued Contributor I
1,178 Views

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 Kudos
Steven_L_Intel1
Employee
1,178 Views

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

0 Kudos
andrew_4619
Honored Contributor III
1,178 Views

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 Kudos
Andrew_Smith
Valued Contributor I
1,178 Views

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 Kudos
andrew_4619
Honored Contributor III
1,178 Views

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 Kudos
Andrew_Smith
Valued Contributor I
1,178 Views

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 Kudos
andrew_4619
Honored Contributor III
1,178 Views

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 Kudos
Steven_L_Intel1
Employee
1,178 Views

I can't reproduce the problem in VS2010.

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

0 Kudos
Reply