gcc 2.95.3 compilation on amd64
Hello, I am trying to compile gcc-2.95.3 on my system(amd64 suse 9.3). I am running: linux32 ../gcc-2.95.3/configure --prefix=/usr/local/gcc/2.95 and after I am running: make bootstrap but compile ends with: /tmp/ccOJYcKI.s: Assembler messages: /tmp/ccOJYcKI.s:272: Error: suffix or operands invalid for `push' /tmp/ccOJYcKI.s:275: Error: suffix or operands invalid for `push' /tmp/ccOJYcKI.s:276: Error: suffix or operands invalid for `push' /tmp/ccOJYcKI.s:295: Error: suffix or operands invalid for `pop' /tmp/ccOJYcKI.s:296: Error: suffix or operands invalid for `pop' /tmp/ccOJYcKI.s:298: Error: suffix or operands invalid for `pop' make[2]: *** [libgcc2.a] Error 1 Any ideas? Did anyone tried something like that? Thanx.
On Tuesday 13 September 2005 15:40, Argiris Mokios wrote:
Hello,
I am trying to compile gcc-2.95.3 on my system(amd64 suse 9.3). I am running:
Ah you're into software archaeology?
linux32 ../gcc-2.95.3/configure --prefix=/usr/local/gcc/2.95
and after I am running:
make bootstrap
but compile ends with:
/tmp/ccOJYcKI.s: Assembler messages: /tmp/ccOJYcKI.s:272: Error: suffix or operands invalid for `push' /tmp/ccOJYcKI.s:275: Error: suffix or operands invalid for `push' /tmp/ccOJYcKI.s:276: Error: suffix or operands invalid for `push' /tmp/ccOJYcKI.s:295: Error: suffix or operands invalid for `pop' /tmp/ccOJYcKI.s:296: Error: suffix or operands invalid for `pop' /tmp/ccOJYcKI.s:298: Error: suffix or operands invalid for `pop' make[2]: *** [libgcc2.a] Error 1
Any ideas? Did anyone tried something like that?
You would need to tell it somehow to pass -m32 to the assembler. e.g. by editing the specs files or adding a "as" wrapper in $PATH before the regular as. -Andi
Andi Kleen wrote:
You would need to tell it somehow to pass -m32 to the assembler. e.g. by editing the specs files or adding a "as" wrapper in $PATH before the regular as.
-Andi
Well unfortunately I need this very old gcc version. Could you be more specific?
On Tue, Sep 13, 2005 at 05:06:01PM +0300, Argiris Mokios wrote:
Well unfortunately I need this very old gcc version.
Ah, compiler lock-in by writing non-standard code. :-/
Could you be more specific?
If you are not familiar with the gcc build process I recommend you just use a binary package like this: ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/projects/gcc/gcc_old/gcc_old-2.95.3-92.i586.rpm Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
participants (3)
-
Andi Kleen
-
Argiris Mokios
-
Robert Schiele