LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to run COFF executable in current distro? (https://www.linuxquestions.org/questions/linux-general-1/how-to-run-coff-executable-in-current-distro-283137/)

TimSNL 01-27-2005 10:47 PM

How to run COFF executable in current distro?
 
Hello, I hope someone can help me with this.

I am trying to get an old unix program running on a ubuntu PC. The output from the file command says, "80386 COFF executable". When I try and run the program I get the message, "cannot execute binary file".

I have had this program runnung on RH 6.1 and RH 7.0 with the help of iBCS but now I am having a hard time getting it to run on ubuntu (2.6.8.1-3-386) or suse 9.1 (2.6.4-52-default) or RH 9.0. I understand that this compatibility should be handeled by ABI and this program should be able to run on all these distros but it does not sem to be working out of the box.

Anyone know how to get this working? I need to get this old application running on a current linux distro, please help with some ideas on this.

BrianK 01-28-2005 02:37 PM

Re: How to run COFF executable in current distro?
 
Quote:

Originally posted by TimSNL
Hello, I hope someone can help me with this.

I am trying to get an old unix program running on a ubuntu PC. The output from the file command says, "80386 COFF executable". When I try and run the program I get the message, "cannot execute binary file".

I have had this program runnung on RH 6.1 and RH 7.0 with the help of iBCS but now I am having a hard time getting it to run on ubuntu (2.6.8.1-3-386) or suse 9.1 (2.6.4-52-default) or RH 9.0. I understand that this compatibility should be handeled by ABI and this program should be able to run on all these distros but it does not sem to be working out of the box.

Anyone know how to get this working? I need to get this old application running on a current linux distro, please help with some ideas on this.

shot in the dark:

try setting an environment variable LD_ASSUME_KERNEL to whatever kernel it worked under - i.e. 2.4.1 or 2.2

I've had success running some older programs under the 2.6 kernel only after setting this variable.


All times are GMT -5. The time now is 02:42 AM.