On 11/23/06, Ilya Konstantinov <[EMAIL PROTECTED]> wrote:
On 11/23/06, Michael Green <[EMAIL PROTECTED]> wrote:
> I'm trying to build old gcc-2.95.* on AMD x64 with RHEL4.

Does such an old version of gcc even support x86-64 (as a target for
the code it compiles, not as a target to run on)?

Do you mean by that that it would be impossible to use gcc 2.9x on x64
to compile our old code? We don't require the resulting binary to be
64bit, 32bit is just fine.

Problem is, we have old code here that  doesn't compile with any gcc
higher than 2.95. Currenty the code runs on old Xeon 32bit based
cluster, and that hardware is running out of warrantly and is hassle
to maintain on OS level.  We would be happy to migrate that code to
our newer cluster which is AMD x64/RHEL AS4.

In the light of above what are my options? Porting the code to newer
gcc is not feasable.

If not, try
'configure' with --target=i686.
Gives:

# ./configure --target=i686
Configuring for a x86_64-unknown-linux-gnu host.
Invalid configuration `x86_64-unknown-linux-gnu': machine
`x86_64-unknown' not recognized
Invalid configuration `x86_64-unknown-linux-gnu': machine
`x86_64-unknown' not recognized
Unrecognized host system name x86_64-unknown-linux-gnu.

also

# ./configure --build=x86_64-pc-linux-gnu
Configuring for a x86_64-unknown-linux-gnu host.
Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized
Unrecognized build system name x86_64-pc-linux-gnu.


:(

--
Warm regards,
Michael Green

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to