- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I have a Makefile that was generated with the ./configure script on Linux and would like to convert it so that I can compile the same codes (spanning several forlders) in Windows using the Microsoft Visual Studio and Intel Fortran. Is there an easy way of doing this?
Thanks for your help!
Sincerely,
David
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If easy means without referring to previously posted advice, probably not.
If the application requires .configure, there may well be specific platform dependencies where you would need Windows equivalents, and might want to incorporate those changes in the configure script. You might want to start by porting to Windows gcc/gfortran, before making the next move. But surely you knew that.
It may be relatively easy, at least in the case of 32-bit compilers, if you are willing to use gnu make with the standard changes to account for the differing compiler options.
If you accept gnu make, you must decide whether to standardize on renaming all .obj to .o, and (if 32-bit) possibly using gnu ar for static libraries, or adding the Windows extensions to .SUFFIXES and providing all corresponding rules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Tim.
Sincerely,
David
PS> "If easy means without referring to previously posted advice, probably not." ... sorry for upsetting you on this post.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page