home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8121 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.6 KB

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