In order to compile an old-compiler I am using the gcc that is installed in my machine (gcc version 4.4.6).
The gcc v 4.4.6 compiler isn’t supporting some syntaxs that are in the old-compiler files and is issuing errors like : lvalue required as left operand, error: attempt to use poisoned...and so on.
the last time someone has compiled that old compiler they used gcc version 2.96. So I downloaded some older version of gcc (3.0 – didn’t found 2.96) and try to build binaries from it.
However – my machines are x86_64 and the 3.0 compiler issuing an error :
Configuration x86_64-redhat-linux-gnu not supported
naturally - no x86_64 existed way back in those days. any advise will be welcome.
update : I have installed on vertualBox an old redhat version (5.7) that came with an old gcc compiler (3.4.6) and tried to compile the cross compiler.My host is - i386-redhat-linux. Now , I didn't get this message and the compilation of the cross compiler started, BUT, when it came to compile unwind-dw2.c file I got the next assembler error :
/tmp/ccAk3sX0.s: Assembler messages:
/tmp/ccAk3sX0.s:259: Error: unrecognized instruction `addi r11,low(r0,.L47),r11'
/tmp/ccAk3sX0.s:736: Error: unrecognized instruction `addi r3,low(r0,.L327),r3'
/tmp/ccAk3sX0.s:1226: Error: unrecognized instruction `addi r3,low(r0,.L317),r3'
/tmp/ccAk3sX0.s:1739: Error: unrecognized instruction `addi r3,low(r0,.L412),r3'
So I am stuck again ...
chroot-ed environment. BTW, what exactly is the "old compiler" you are compiling??? - Basile Starynkevitch