Not compiling code

Jerry DeLisle jvdelisle@charter.net
Mon Aug 20 22:04:00 GMT 2012


On 08/20/2012 05:56 PM, Johannes Kühn wrote:
> Dear experts,
>
> I'm a little frustrated because I urgently struggle to compile
> an old FORTRAN code on my Windows machine using gfortran.
>
> But every time I try to do so, I get the same error (about 50 of them):
>
> "Error: invalid instruction suffix for `push'"
>
> Does anyone of you have an idea what this could mean and how I can fix it?
>

A couple of things we need to see:

1) What is the output when you execute the following command:

gfortran -v

2) Can you reproduce the problem with a small sample, a few lines of code that 
you can send here?

3) What is your hardware platform? It almost looks like you have a compiler for 
the wrong hardware.

Jerry



More information about the Fortran mailing list