This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: suse 10.3


On 10/11/07, Yvan Notay <ynotay@ulb.ac.be> wrote:
> Hello,
>
> I have a program that works well with gfortran & suse 10.0
>
> I have now a new computer (64 bit  OS) and suse version is 10.3

You seem to have installed gfortran for the i586 architecture instead
of x86_64 (you have a 64bit OS).  That is, rpm -qi gcc42-fortran probably
shows

Distribution: openSUSE 10.3 (i586)

instead of

Distribution: openSUSE 10.3 (X86-64)

Richard.

> Trying to compile the program produces:
>
> gfortran -g -c -o main.o main.f90
> /tmp/ccCnqkfx.s: Assembler messages:
> /tmp/ccCnqkfx.s:45: Error: suffix or operands invalid for `push'
> /tmp/ccCnqkfx.s:49: Error: suffix or operands invalid for `push'
> /tmp/ccCnqkfx.s:51: Error: suffix or operands invalid for `push'
> /tmp/ccCnqkfx.s:53: Error: suffix or operands invalid for `push'
> /tmp/ccCnqkfx.s:681: Error: suffix or operands invalid for `pop'
> /tmp/ccCnqkfx.s:682: Error: suffix or operands invalid for `pop'
> /tmp/ccCnqkfx.s:683: Error: suffix or operands invalid for `pop'
> /tmp/ccCnqkfx.s:684: Error: suffix or operands invalid for `pop'
> /tmp/ccCnqkfx.s:693: Error: suffix or operands invalid for `push'
>
> the installed version is:
> gfortran -v
> Using built-in specs.
> Target: i586-suse-linux
> Configured
> with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux
> Thread model: posix
> gcc version 4.2.1 (SUSE Linux)
>
>
> Many thanks for your help
>
>
> Yvan Notay
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]