[CMake] gfortran

Bill Hoffman bill.hoffman at kitware.com
Wed Jan 23 14:49:59 EST 2008


Javier Gonzalez wrote:

>>>     
>> Try to compile a simple hello world program using gfortran at command line to 
>> test if it's cmakes fault of if your gcc installation is broken.
>>
>> To do so copy this code
>>   http://www.roesler-ac.de/wolfram/hello.htm#Fortran90
>> and paste it into a file i.e. hello.f90.  Compile it via
>>   gfortran -o hello hello.f90
>> and run it
>>  ./hello
>>    
>> 
> I temporarily made a link to the library and my application works fine.
> I don't want to tell all the users of my application to go and make a
> link, that is why I don't think it is a long term solution.
> 
But seriously, if you compile a simple test case WITHOUT CMake and your 
compiler does it work?  If the answer is yes, then it might be CMake's 
fault and we will try to help.  If the answer is no, then tell your 
users to install gfortran correctly.

-Bill


More information about the CMake mailing list