Hello all:
This is probably a silly question, but I cannot find the answer.
I am using the gcc 64 bits compiler package dwonloaded from equation.com, running on windows XP x64.
Consider the following short f90 program:
Compiling with:
gfortran test32.f90
Compiles and runs OK. But if I want to make a 32 bits executable, issuing:
gfortran -m32 test32.f90
it gives the following messages:
C:\Temp\ccIkytx5.s: Assembler messages:
C:\Temp\ccIkytx5.s:8: Error: invalid instruction suffix for `push'
C:\Temp\ccIkytx5.s:39: Error: invalid instruction suffix for `push'
I tried things like -march=k8 etc but none works with -m32. What am I doing wrong?
Thanks in advance
Fernando
This is probably a silly question, but I cannot find the answer.
I am using the gcc 64 bits compiler package dwonloaded from equation.com, running on windows XP x64.
Consider the following short f90 program:
Code:
program test32
implicit none
real*8 a, b
a = 2.0
b = 3.0 + a
print *, b
end program
gfortran test32.f90
Compiles and runs OK. But if I want to make a 32 bits executable, issuing:
gfortran -m32 test32.f90
it gives the following messages:
C:\Temp\ccIkytx5.s: Assembler messages:
C:\Temp\ccIkytx5.s:8: Error: invalid instruction suffix for `push'
C:\Temp\ccIkytx5.s:39: Error: invalid instruction suffix for `push'
I tried things like -march=k8 etc but none works with -m32. What am I doing wrong?
Thanks in advance
Fernando