- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have recently begun development of a DOS legacy FORTRAN & C system using Visual FORTRAN in conjunction with Microsoft Visual Studio .NET.
When I try to compile the C portion in Developer Studio of CVF, it uses the existing WATCOM C/C++ compiler to attempt to compile instead of the Microsoft Visual C compiler.
I've tried locating, in the documentation, where you specify the C compiler to be used, but am either blind or haven't come across it.
Appreciate any help...
Thanks
When I try to compile the C portion in Developer Studio of CVF, it uses the existing WATCOM C/C++ compiler to attempt to compile instead of the Microsoft Visual C compiler.
I've tried locating, in the documentation, where you specify the C compiler to be used, but am either blind or haven't come across it.
Appreciate any help...
Thanks
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Visual Studio 98 environment CVF uses doesn't know about your Visual Studio.NET installation and can't use it. You'll need to compile the C code in a separate project in VS.NET and link it with your Fortran code using the VS.NET linker.
There is no place you specify the C compiler to be used - this is part of the C compiler installation - but I'm guessing that it's somehow finding a cl.exe in one of the directories listed at Tools..Options..Directories..Executable files.
Steve
Steve
There is no place you specify the C compiler to be used - this is part of the C compiler installation - but I'm guessing that it's somehow finding a cl.exe in one of the directories listed at Tools..Options..Directories..Executable files.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, you hit the nail on the head with that one.
I'm wondering if I go back and install VS 6.0 Visual C, if it will find that compiler. I only have Source Safe installed from VS 6.0.
Thanks again...
I'm wondering if I go back and install VS 6.0 Visual C, if it will find that compiler. I only have Source Safe installed from VS 6.0.
Thanks again...
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page