home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / minix / 5053 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.8 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!charnel!rat!ucselx!crash!cwr
  2. From: cwr@crash.cts.com (Will Rose)
  3. Newsgroups: comp.os.minix
  4. Subject: Re: ACK ANSI Compiler
  5. Message-ID: <1993Jan05.005757.13952@crash>
  6. Date: 5 Jan 93 08:57:57 GMT
  7. References: <1993Jan3.115527.11032@klaava.Helsinki.FI>
  8. Organization: CTS Network Services (crash, ctsnet), El Cajon, CA
  9. Lines: 27
  10.  
  11. Linus Torvalds (torvalds@klaava.Helsinki.FI) wrote:
  12. : The only people I see using the new ANSI compiler extensively would be
  13. : people with old PC/XT's, and if they can put up with that kind of
  14. : hardware, thay should certainly be able to put up with an older release
  15. : of the compiler as well (*).  It's not as if you could port many
  16. : standard unix programs to a 64+64kB machine anyway, so the lack of ANSI
  17. : shouldn't be that bad an experience: you'd just have to write your
  18. : programs using K&R. 
  19.  
  20. There are two problems with using K&R - compiling 1.6 kernel and sources,
  21. and debugging code without lint.  The one advantage of ANSI C for my
  22. money is that prototyping catches a number of errors that only lint can
  23. otherwise reach, and there is no lint for Minix, and I don't have the
  24. time, interest or skill to write one.  ANSI C does a  number of things
  25. I don't want it to do, but prototyping is handy.  It's also pretty 
  26. uninispiring to hack eg. modem control into the tty code when you know
  27. a) its been done already for 1.6, and probably much better and b) no-one
  28. else will be interested in re-using your code, since they'll  have 1.6
  29. anyway.  My current best solution is to work out a cross-compile under
  30. MSDOS for the kernel and commands, use the 1.3 compiler for my own code,
  31. and lint the stuff on another Unix machine entirely.  This will all  take
  32. a lot of time that could better be spent in drinking, which displeases
  33. me further.
  34.  
  35. Keep taking the tablets - Will
  36. cwr@crash.cts.com
  37.