home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
- From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
- Newsgroups: comp.os.linux
- Subject: Re: executables in linux
- Message-ID: <1992Aug13.133700.9139@klaava.Helsinki.FI>
- Date: 13 Aug 92 13:37:00 GMT
- References: <1992Aug12.225538.16085@usenet.ins.cwru.edu>
- Organization: University of Helsinki
- Lines: 23
-
- In article <1992Aug12.225538.16085@usenet.ins.cwru.edu> mdr4@po.CWRU.Edu (Mark D. Rutherford) writes:
- >
- >I'm currently running linux .95. Several times now, I've FTP'd
- >something, tar'd it to floppy, and then untar'd from linux,
- >and tried to execute what I've untar'd. I get the message,
- >"Cannot execute binary file" The directory listing for the file
- >says that it's executable, and it's docs say it's executable.
- >I'm sure it's something simple that I'm missing. Can anyone help?
-
- While I have tried to keep each new kernel backwardsly compatible (ie
- running most old binaries, excepting things like ps and in some cases
- gdb), it's /not/ the case the other way around - binaries compiled with
- a new compiler may not work on an older kernel. There have been several
- changes in this direction: the header information changed somewhere
- along the way (the old headers were still accepted, but old kernel
- versions didn't accept the new headers) and new features (extended stat
- structure etc) have made binaries unrunnable on older kernel versions.
-
- So the answer is to upgrade your kernel: if possible all the way to
- 0.97.pl1 + the one-line patch due to performance reasons, but 0.96c or
- similar should work very well for your needs.
-
- Linus
-