Jump to content

gcc problem


Recommended Posts

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]

Link to comment
Share on other sites

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 by ddmcse
Link to comment
Share on other sites

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

Install gcc-g77 package. It contains the Fortran compiler for gcc.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...