Hello, Wen I use a 32 bit compiler like g95 or gfortran95, I get more then one hundred assembler messages, like the ones below hadron:f9x$ g95 elmt.f95 /tmp/cckVcW6l.s: Assembler messages: /tmp/cckVcW6l.s:12: Error: suffix or operands invalid for `push' /tmp/cckVcW6l.s:15: Error: `8(%ebp)' is not a valid 64 bit base/index expression /tmp/cckVcW6l.s:16: Error: `(%eax)' is not a valid 64 bit base/index expression /tmp/cckVcW6l.s:17: Error: `-8(%ebp)' is not a valid 64 bit base/index expression [.... loads of simmilar messages.....] /tmp/cckVcW6l.s:71: Error: suffix or operands invalid for `push' /tmp/cckVcW6l.s:73: Error: suffix or operands invalid for `push' /tmp/cckVcW6l.s:74: Error: suffix or operands invalid for `push' /tmp/cckVcW6l.s:75: Error: suffix or operands invalid for `push' [.... more loads of messages like the ones in the first set above....] /tmp/cckVcW6l.s:236: Error: suffix or operands invalid for `pop' /tmp/cckVcW6l.s:237: Error: suffix or operands invalid for `pop' /tmp/cckVcW6l.s:238: Error: suffix or operands invalid for `pop' /tmp/cckVcW6l.s:239: Error: suffix or operands invalid for `pop' hadron:f9x$ Is there a simple solution to this? I tried to compile g95, but had no success... TIA Ze ______________________________________________________________ Departamento de Física http://www.dfisica.ubi.pt Universidade da Beira Interior http://www.ubi.pt ______________________________________________________________
On Thursday 09 September 2004 18:31, Luis Jose Maia Amoreira wrote:
Hello,
Wen I use a 32 bit compiler like g95 or gfortran95, I get more then one hundred assembler messages, like the ones below
The assembler expects 64-bit assembly code. Pass the right flags to the assembler. Why are you not using a 64-bit g95 together with -m32? That produces 32-bit binaries... I can try to build some RPMs of GCC mainline CVS and upload them later... Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Sorry to break in your discussion, but:
is there a fortran 90/95 compiler for amd64?
I searched for it and found, that the g95-project has no 64-bit version yet,
and the intel does (naturally) not work on amd64.
If you know a free (or at least free for private use) fortran-compiler, please
mail me the link to download.
thanks in advance
joachim
On Fri, 10 Sep 2004 07:10:13 +0200
Andreas Jaeger
On Thursday 09 September 2004 18:31, Luis Jose Maia Amoreira wrote:
Hello,
Wen I use a 32 bit compiler like g95 or gfortran95, I get more then one hundred assembler messages, like the ones below
The assembler expects 64-bit assembly code.
Pass the right flags to the assembler. Why are you not using a 64-bit g95 together with -m32? That produces 32-bit binaries...
I can try to build some RPMs of GCC mainline CVS and upload them later...
Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Friday 10 September 2004 09:17, amd64@php-it.de wrote:
Sorry to break in your discussion, but: is there a fortran 90/95 compiler for amd64?
Pathscale and PGI have commercial ones. GCC 4.0 will have a Fortran 90/95 compiler and I'm talking about that one.
I searched for it and found, that the g95-project has no 64-bit version yet, and the intel does (naturally) not work on amd64. If you know a free (or at least free for private use) fortran-compiler, please mail me the link to download.
I'll send an email here later, Andreas
thanks in advance joachim
On Fri, 10 Sep 2004 07:10:13 +0200
Andreas Jaeger
wrote: On Thursday 09 September 2004 18:31, Luis Jose Maia Amoreira wrote:
Hello,
Wen I use a 32 bit compiler like g95 or gfortran95, I get more then one hundred assembler messages, like the ones below
The assembler expects 64-bit assembly code.
Pass the right flags to the assembler. Why are you not using a 64-bit g95 together with -m32? That produces 32-bit binaries...
I can try to build some RPMs of GCC mainline CVS and upload them later...
Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Friday 10 September 2004 10:41, Andreas Jaeger wrote:
On Friday 10 September 2004 09:17, amd64@php-it.de wrote:
Sorry to break in your discussion, but: is there a fortran 90/95 compiler for amd64?
Pathscale and PGI have commercial ones.
GCC 4.0 will have a Fortran 90/95 compiler and I'm talking about that one.
Ok, I've build some test packages, they will be in an hour or two at: ftp.suse.com/pub/people/aj/GCC/GCC4.0.0-Pre Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (3)
-
amd64@php-it.de
-
Andreas Jaeger
-
Luis Jose Maia Amoreira