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
Geschätzter Beitragender I
1.179Aufrufe

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 Antworten
Steven_L_Intel1
Mitarbeiter
1.179Aufrufe

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

Andrew_Smith
Geschätzter Beitragender I
1.179Aufrufe

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

Andrew_Smith
Geschätzter Beitragender I
1.179Aufrufe

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.

Steven_L_Intel1
Mitarbeiter
1.179Aufrufe

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

andrew_4619
Geehrter Beitragender III
1.179Aufrufe

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.

 

 

Andrew_Smith
Geschätzter Beitragender I
1.179Aufrufe

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.

andrew_4619
Geehrter Beitragender III
1.179Aufrufe

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? 

Andrew_Smith
Geschätzter Beitragender I
1.179Aufrufe

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 ?

andrew_4619
Geehrter Beitragender III
1.179Aufrufe

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?

Steven_L_Intel1
Mitarbeiter
1.179Aufrufe

I can't reproduce the problem in VS2010.

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

Antworten