------- Additional Comments From raeburn at MIT dot EDU  2004-12-14 00:45 
-------
Subject: Re:  multilib configure fails running 64-bit
 program on 32-bit IRIX


"echristo at redhat dot com" <[EMAIL PROTECTED]> writes:
> Ken,
>
> The only 32-bit irix I can remember is irix5, what's odd about your machine 
> that
> you don't have the 64-bit libraries installed?

There are 64-bit libraries, but the kernel is running in 32-bit mode
and doesn't support execution of 64-bit programs.

% uname -a
IRIX capacitor-bank 6.5 01200533 IP32
% file /unix
/unix: ELF 32-bit MSB mips-3 executable, MIPS R3000_BE, version 1, statically 
linked, not stripped
% cc -64 hello.c -o hello 
% file hello 
hello: ELF 64-bit MSB mips-3 executable, MIPS R3000_BE, version 1, stripped
% ./hello
./hello: Exec format error. Binary file not executable.
%

Ken


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15237

Reply via email to