Ask help:why my 64-bit ELF file could not run at the 64-bit mips cpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 I have a 64-bit mips cpu, and compiled a 64-bit application, but this
 application could not run. (the target is running Linux)
 The details is:
 1)if I compile the application with -mabi=n64, this program could not
 run, when I run it in the shell, it prompts "command not found"
 2)but if I compile the application with -mabi=n32, it runs well and
 gives the correct result.

 I am wondering why with "-mabi=n64", this program could not run? I
 checked the CP0(status register), Bit px=0b0, KX=0b1, SX=0b1, UX=0b1,
 it seems that in User Mode, it accepts 64-bit operation.

 Anybody could give me some help? Any comments is much appreciated!!

 BR/Dominic


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux