home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20948 < prev    next >
Encoding:
Text File  |  1993-01-07  |  6.1 KB  |  137 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!chsun!bernina!bernina!neeri
  3. From: neeri@iis.ethz.ch (Matthias Neeracher)
  4. Subject: Re: Sozobon (or other free C's): would this strategy work?
  5. In-Reply-To: rduta@nyx.cs.du.edu's message of Thu, 7 Jan 93 17:58:34 GMT
  6. Message-ID: <NEERI.93Jan8002347@iis.ethz.ch>
  7. Sender: news@bernina.ethz.ch (USENET News System)
  8. Organization: Integrated Systems Laboratory, ETH, Zurich
  9. References: <29879@castle.ed.ac.uk> <1993Jan5.023237.18823@cs.yale.edu>
  10.     <NEERI.93Jan5193849@iis.ethz.ch>
  11.     <1993Jan7.175834.10583@mnemosyne.cs.du.edu>
  12. Distribution: comp
  13. Date: Thu, 7 Jan 1993 23:23:47 GMT
  14. Lines: 121
  15.  
  16. In article <1993Jan7.175834.10583@mnemosyne.cs.du.edu>, rduta@nyx.cs.du.edu (Radu) writes:
  17. > quoting from neeri@iis.ethz.ch (Matthias Neeracher)
  18. >
  19. >> Another reason against porting gcc is that there are already at
  20. >> least two powerful, well-integrated compilers around. I doubt that you could
  21. >> get gcc to compile even as fast as MPW C, let alone Think C, especially if
  22. >> you consider that gcc needs a separate assembly step. If you add the
  23. >> necessity of writing a decent user interface for a standalone compiler, I
  24. >> doubt that people will be willing to spend a lot of effort in writing the
  25. >> 3rd fastest and 3rdmost compatible C compiler for the Mac
  26. >>> But I think a lot of people would benefit from a port,
  27. >>> given the large numbers of Mac users.
  28. >  
  29. >> My parents use Macs, too, but I doubt they would benefit from a port.
  30. >> Seriously, though, I think the target audience is not that big. gcc is too
  31. >> big for amateur programmers, too slow for many non-amateurs, and some
  32. >> programmers wouldn't like to use a standalone compiler (I want my MPW :-)
  33.  
  34. > I take that whole post as a direct insult!
  35.  
  36. Wasn't meant to be one, but to paraphrase Guns 'n' Roses, if you feel offended,
  37. you might want to check out rec.music.newage :-)
  38.  
  39. > Sure your parents might use a mac, but so do I, and i'm not by any means
  40. > related to you.
  41.  
  42. My point was that many Mac users have no intention of programming a Mac, so
  43. the target group for gcc would be significantly smaller than "the large number
  44. of Mac users".
  45.  
  46. > Just because you have
  47. > the money to go ahead and buy MPW or Think C, doesn't mean that everyone can.
  48. > I for one can't even come close to spitting out the $150 for Think C.
  49.  
  50. I doubt that.
  51.  
  52. > I'm 
  53. > currently a student in colege so that could explain the lack of funds.  On
  54. > the other hand I'm using a Mac + which i bought for less that 200.  So
  55. > before i spend more money on a compiler than I spend for my comuter i'll
  56. > much rather buy another computer.  
  57.  
  58. This is plausible, but may I point out to you that there is no way to expect
  59. that a gcc port would run on a Mac Plus ? (You *might* get it to crawl along
  60. on a 4M Plus, but I don't think that anybody in 1993 would want to experience
  61. something like this).
  62.  
  63. > I hapen to agree with FSF drive against apple,
  64.  
  65. So why did you want gcc on the Mac ?
  66.  
  67. > I'm all for it, and i think they have a good reason for it as well.
  68.  
  69. I don't.
  70.  
  71. > Apple has had the bad habbit of ripping people off since the bigining
  72. > of time.  
  73.  
  74. You got it all wrong, it was the snake that led Eve astray, the apple was only
  75. a passive participant :-) You are of course entitled to your opinion, but
  76. then there is little point for you in hanging around this newsgroup.
  77.  
  78. > recently i was debating buying a  mac CI for 2000, noting how much prices
  79. > came down, but then I saw a 486 66 for only 1000.  Now lets face it, a 486
  80. > 66 will cream a 68030 25.
  81.  
  82. Yup, especially if your preferred hobby is to run big bang simulations. If
  83. it isn't, you should judge based on the applications you want to run and
  84. on the reputation of the manufacturer (And the '486 might still come ahead).
  85.  
  86. > Put linux on it, and your set, not to mention
  87. > that i'll have all the code that has ever been written for unix.  
  88.  
  89. Except for a few lines of proprietary code, that is. Linux seems to be
  90. real nice, though.
  91.  
  92. > I strongly feel that someone should write a port for GCC, something that
  93. > is independant of MPW, or any other comertial product.
  94.  
  95. - You haven't made the slightest point why. The FSF is against it, and
  96.   it wouldn't run decently on the low end machines that the target segment
  97.   might own (Like my own machine, BTW). You can't do real mac programming
  98.   without a *lot* of manuals, and a new set of Inside Macintosh is probably
  99.   more expensive than Think C.
  100. - Many programmers (such as me) would think it sort of cool to have gcc, but
  101.   I doubt that is sufficient motivation for a standalone port.
  102. - It's close to impossible to make a good compiler port *totally* independent
  103.   from any commercial products, unless you want to spend enormous amounts
  104.   of time on writing and maintaining Toolbox header files and glue code. I
  105.   suspect that a gcc will mainly be a second compiler for people who own
  106.   already Think or MPW.
  107.  
  108. > I can't make it happen since I don't know enough, but i hope someone
  109. > that knows enough can and will do it.
  110.  
  111. This was another point I was trying to make. Those who'd most like to have gcc
  112. don't have the resources to port it, and those who have the resources lack the
  113. time and motivation.
  114.  
  115. Stan has made it clear that we will soon have a running MPW version of gcc, and
  116. somebody *might* do a standalone version of that, but it's close to impossible
  117. that you will get free headers and libraries with it (legally, that is).
  118.  
  119. > Make it happen!
  120.  
  121. To end my posting on a somewhat more positive note, there is an ANSI C compiler
  122. frontend called lcc (lccfe on princeton.edu). There is no freely available
  123. backend for the 680X0, but decent documentation on how to write one. lcc is
  124. rumored to be less resource hungry and just as well optimizing as gcc. If
  125. anybody is considering the "gcc lite" strategy that was mentioned in this
  126. thread, have they thought about lcc ? It would, of course, not change the
  127. header/library problem in the least, but it might alleviate a lot of speed
  128. and memory problems.
  129.  
  130. Matthias
  131.  
  132. -----
  133. Matthias Neeracher                                      neeri@iis.ethz.ch
  134.   "Macintosh System 7.1 -- just say no.  If I'd wanted to pay for OS
  135.    upgrades, I'd have bought an IBM." -- mathew@mantis.co.uk
  136.