Re: How to find "Back Ward Compatiblity for Binary files"

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

 



On Fri, Sep 28, 2007 at 10:37:24AM +0100, deena dayalan wrote:
>   I have written small application code in "C" language and it has
>   been compiled using "gcc" on RedHat 3.0 kernel 2.4.21 and Is it
>   possible for me to run RedHat 3.0 compiled binary on RedHat 4.0
>   kernel 2.6.8?

Yes, that should be possible. If it isn't just recompile your program,
that's what you have source for.

>   1. How do i find "ABI" compatiblity between two kernel versions?

There are hardly any. The userspace ABI gets extended, old syscalls are
maintained for compatibility. It's still possible to run old libc5
binaries on current distributions (if you have libc5 libraries
installed, of course). I haven't tried an a.out binary recently, but I
expect that will still work as well.

>   2. How to find "Back Ward Compatiblity" between two kernel versions
>       of same distribution?

There shouldn't be any compatibility problem for normal programs. If
you do something hardware specific however (like iwconfig in the
wireless tools packages, for example) you can expect compatibility
problems.


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux