antonis_wrx Posted December 12, 2005 Report Share Posted December 12, 2005 Hi. I am trying to complie a program I wrote in fortran for a project on my university. I was told that gcc can do this, but I get this error message: [antonis@localhost Fortran]$ gcc -o proto.exe proto.for gcc: installation problem, cannot exec `f771': No such file or directory why? [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
ddmcse Posted December 12, 2005 Report Share Posted December 12, 2005 (edited) syntax? i'll have to look it up but isn't it : gcc proto.for -o proto.exe I compile C++ programs for windows using g++ code.cxx -o program.exe code.cxx being my code file Edited December 12, 2005 by ddmcse Quote Link to comment Share on other sites More sharing options...
chalex20 Posted December 13, 2005 Report Share Posted December 13, 2005 Hi. I am trying to complie a program I wrote in fortran for a project on my university. I was told that gcc can do this, but I get this error message: [antonis@localhost Fortran]$ gcc -o proto.exe proto.for gcc: installation problem, cannot exec `f771': No such file or directory <{POST_SNAPBACK}> Install gcc-g77 package. It contains the Fortran compiler for gcc. Quote Link to comment Share on other sites More sharing options...
chalex20 Posted December 13, 2005 Report Share Posted December 13, 2005 i'll have to look it up but isn't it :gcc proto.for -o proto.exe I compile C++ programs for windows using g++ code.cxx -o program.exe code.cxx being my code file <{POST_SNAPBACK}> It doesn't matter. Both "gcc -o outfile infile" and "gcc infile -o outfile" are good. Quote Link to comment Share on other sites More sharing options...
antonis_wrx Posted December 13, 2005 Author Report Share Posted December 13, 2005 I downloaded g77 (urpmi g77) and I think it should be ok! Quote Link to comment Share on other sites More sharing options...
chalex20 Posted December 14, 2005 Report Share Posted December 14, 2005 I downloaded g77 (urpmi g77) and I think it should be ok! <{POST_SNAPBACK}> Don't think - check :-) And share the results with us here :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.