Re: f77

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 25, 2005 at 02:07:22PM -0400, Joshua Liebowitz wrote:
> Hi, I am running FC4 x86_64 and I cant seem to figure out why I can't
> compile a FORTRAN 77 program.
> Here is what I get...
> 
> f77test.f contains:
> program hello
> print *,'Hello World!'
> stop
> end
> when I compile:
> $f77 f77test.f
> /tmp/cc1COl1w.s: Assembler messages:
> /tmp/cc1COl1w.s:26: Error: suffix or operands invalid for `push'
> /tmp/cc1COl1w.s:30: Error: suffix or operands invalid for `push'
> /tmp/cc1COl1w.s:33: Error: suffix or operands invalid for `push'
> /tmp/cc1COl1w.s:34: Error: suffix or operands invalid for `push'
> /tmp/cc1COl1w.s:35: Error: suffix or operands invalid for `push'
> /tmp/cc1COl1w.s:36: Error: suffix or operands invalid for `push'
> /tmp/cc1COl1w.s:41: Error: suffix or operands invalid for `push'
> /tmp/cc1COl1w.s:42: Error: suffix or operands invalid for `push'

My guess is that you have installed compat-gcc-32-g77*.i386.rpm rather
than compat-gcc-32-g77*.x86_64.rpm.  Which would lead into compiling
32-bit code, but not telling the assembler that it is 32-bit code.
You need to use compat-gcc-32-g77*.x86_64.rpm (or better yet
gcc-gfortran-*.x86_64.rpm).

	Jakub


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux