aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes visual studio c++ 6.0 ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "visual studio c++ 6.0 ?" Watch "visual studio c++ 6.0 ?" New topic
Author

visual studio c++ 6.0 ?

Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
I am currently on this old old project that uses visual studio's 6.0 C++.

It also has fortran code with this project.

I am wondering if visual studio's is shipped with a fortran compiler or what I have to do to get fortran programs to compile/link in visual studio 6.0 express.

I see no create project/file for a fortran program but I have googled and found people saying fl.exe is the fortran compiler for visual studio's.

I know gnu has gfortran ,g77 ,...etc but I need away to work with fortran thru visual studio 6.0 and have it work with c/c++ cl.exe , link.exe.

Have done a search on my computer and no fl.exe exists.... if this does not come with visual studio's then is their some download off of msdn for fl.exe and instructions how to integrate it?

Thanks for any help

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5827
    
    7

A FORTRAN compiler does not come with Visual Studio - you have to purchase one. Or find a free one, but that might not integrate into VS.


JBoss In Action
Sam Doder
Ranch Hand

Joined: Feb 06, 2008
Posts: 204
does their exist a fortran compiler that allows you to compile to an .object file format that cl.exe/link.exe can use.

Basically is their a fortran compiler that allows you to integrate fotran with visual studio's out their?
Preferable free.

I have used gfortran , gcc , gnu compilers and MinGw/cygwin but these are different from the microsoft compilers and may have compatiblity issues.

Thanks for any info.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16061
    
  21

FORTRAN was never a major language on Windows, I'm afraid. If there are any free FORTRAN compilers for that platform, I don't know of them. I believe Intel had some products, but they weren't especially cheap by today's standards, although I bought a FORTRAN compiler for my Cromemco system of lost antiquity for what I considered a fair price. That was in the pre-IBM PC days, however, and the OS was a variant of CP/M.

I think you can find IDE support for FORTRAN as a plugin for Eclipse, although probably it's easier just to edit the source as plain text files in VS. If free is what you need, there's probably a way to run the gcc fortran compiler in a mode that outputs in Windows-linkable form. Speaking of antiquity, it's been a long time since I did Windows binaries, but I believe that what you want is "COFF" form compiler output.

IBM's mainframe FORTRAN required an extensive runtime framework and support libraries. I don't know if the Windows system does or not, or whether you already have those resources.

Depending on the application, it might just be easier to convert the app to run in a Linux environment under cygwin or in a Linux VM. Either that or crack open the piggybank and break out the Intel software catalog.


Customer surveys are for companies who didn't pay proper attention to begin with.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5827
    
    7

The "Intel Visual Fortran Compiler Professional Edition for Windows" works with Visual Studio. It is a mere $699, pocket change! They do have a 90day trial download.

I suspect that they have some way of hooking up FORTRAN code to C/C++ code. I did nit find any specific docs on that, but the tial should let you know.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16061
    
  21

Peter Johnson wrote:The "Intel Visual Fortran Compiler Professional Edition for Windows" works with Visual Studio. It is a mere $699, pocket change! They do have a 90day trial download.

I suspect that they have some way of hooking up FORTRAN code to C/C++ code. I did nit find any specific docs on that, but the tial should let you know.


All Windows/DOS compilers that produce coff file format can be used in a mixed-language environment. This is the Intel compiler I was referring to.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: visual studio c++ 6.0 ?