PDA

View Full Version : bash: ./jeudupendu.exe: cannot execute binary file


hector dino
01-08-2006, 12:02 PM
Hello,

I have a little probleme with files i wrote in fortran95. I try to execute my binary file obtained after using gfortran, but all what i can get is:

bash: ./jeudupendu.exe: cannot execute binary file

could somebody help me please.

hayne
01-08-2006, 01:02 PM
I have a little probleme with files i wrote in fortran95. I try to execute my binary file obtained after using gfortran, but all what i can get is:

bash: ./jeudupendu.exe: cannot execute binary file

Did you compile this program on OS X?
It is somewhat unusual for an OS X executable to have the ".exe" suffix.

What do you get from the following command:

file jeudupendu.exe