- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi All,
I have a Digital Fortran - Microsoft C/C++ mix code program compiled under Visual Studio version 6 and would like to move to a newer environment. I have already installed Microsoft Visual Studio 2013 Community Edition with C++ component and have been developing pure C/C++ applications on it. I want to know:
1. Would it be enough to get just "Intel Parallel Studio XE Composer Edition for Fortran Windows"?
2. Would Intel Fortran mix with Microsoft C/C++ code and libraries, especially with MFC?
3. If either 1. or 2. is No, would "Intel Parallel Studio XE Composer Edition for Fortran and C++ Windows" be OK with MFC?
Thanks.
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
1. Yes
2. Yes
3. N/A
Note that as of VS2002, a single project can no longer have multiple languages. So what happens is that you have a VS "Solution" with two (or more) projects; one for the executable in whichever language the main program is, and one that is a static library for the code in the other language that gets linked in to the executable.
For a DVF project, you may be able to get this split automatically by:
- Open the VS6 project with VS2013
- Right click on the project and select "Extract Compaq Visual Fortran Project Items" (something like that)
It should split the project and create two as needed. Some tweaking might be needed after that. Visual C++ in VS2013 no longer links in libraries from non-C++ dependent projects, so you have to add the Fortran library (if C++ is main) to the C++ project manually. Also sometimes there will be a /machine:x86 in the "Additional Options" for the Fortran project - if so, remove it.
See also
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Steve,
Suppose I use C/C++ for the executable and Fortran for the library, I need to know:
1. in debug, can I step from the C/C++ code into the Fortran library code seamlessly?
2. can Fortran calls C/C++ functions in the executable project or in another C/C++ library?
3. in VS, on right click an function name and select "Find All References", would it show references from the other language?
i.e., can I look for references from all the projects in the solution?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
1. Yes
2. Yes.
3. I don't think so. That feature is provided by the language-specific integration and the integrations don't talk to each other.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
You can perform Search Files (select within Solution).
Jim Dempsey
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thanks Steve and Jim,
Search would return any line with the searched text, not just those using it as a function call. It is good to know though.
