Problem with generated a.out on IRIX 6.5

jle@star.be jle@star.be
Thu Feb 17 06:22:00 GMT 2000


I got a SGI O2 + IRIX 6.5

Using gcc-2.8.1 or gcc-2.95.2 (generated with gcc-2.8.1)

trying to compile the canonical C source below:

int main(int argc, char * argv[]) { return 0; }


with the command (YES, I want to generate 64 bit executable):

gcc -mabi=64 a.c

the compiler operates normaly, and generates a a.out file

but trying to run the a.out always produce the error message:

ksh: ./a.out : cannot execute

Is it due to a compiler problem, a shell config problem ?
THIS IS NOT A CRITICAL PROBLEM FOR NOW...
But I'd like to investigate 64 bit programming, estimate
possible performance gains, etc...


GCC-ly yours,
  Jacques Leroy




More information about the Gcc-bugs mailing list