- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thanks Tim.
Sincerely,
David
PS> "If easy means without referring to previously posted advice, probably not." ... sorry for upsetting you on this post.