For Programmers: Free Programming Magazines  


Home > Archive > Fortran > December 2005 > Re: makefile from linux lahey fortran to intel visual fortran on









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: makefile from linux lahey fortran to intel visual fortran on
Tim Prince

2005-12-06, 7:05 pm

bonsoir2006@hotmail.com wrote:
> Hei Ash,
>
> Thanks a lot for your answer.
>
> I have indeed visual fortran. However, I have this version only because
> it is one of the versions that can work on Windows. I would really
> prefer only to work from the command line prompt with a makefile. I
> have been able to compile with my makefile on a Unix machine by logging
> remote, but I would like to have a version of fortran that I coud use
> locally on my computer. Installing linux on my computer and then a
> version of fortran for linux could be an option, and another that I am
> trying now is to use intel visual fortran on Windows using the command
> line prompt.
>
> I have tried the visual interface a little and have gotten not too big
> a success...
>
> Would you have some tips on how to use a makefile to be able to use
> only the command line prompt with intel visual fortran on Windows?
>

As gnu make is available in so many flavors, including mingw and cygwin,
I don't find the choice so difficult. Perhaps the most difficult choice
is between .o and .obj files. For the latter, you would need a
..SUFFIXES rule, including .obj as well as .exe. It gets somewhat ugly
then, when you set up to handle both .o and .obj files.
You don't mention whether you are using a 64-bit compiler, which may
bring in complications with the addition of /amd64 tags when building
libraries and linking.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com