home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / apple2 / 20054 < prev    next >
Encoding:
Text File  |  1992-09-09  |  2.5 KB  |  56 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!spool.mu.edu!nigel.msen.com!yale.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!hphalle6!behrenss
  3. From: behrenss@Informatik.TU-Muenchen.DE (Soenke Behrens)
  4. Subject: Re: Modula-2 for the Apple IIGS
  5. References: <1992Sep8.094243.22947@nuscc.nus.sg> <1992Sep8.120332.25112@actrix.gen.nz> <bazyar.715986159@teal> <1992Sep9.020819.24247@nuscc.nus.sg>
  6. Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
  7. Organization: Technische Universitaet Muenchen, Germany
  8. Date: Wed, 9 Sep 1992 12:18:00 GMT
  9. Message-ID: <behrenss.716041080@hphalle6>
  10. Lines: 44
  11.  
  12. ltchean@rambutan.iss.nus.sg (lim thye chean) writes:
  13.  
  14. >What is g++ C? Is it a C++ clone?
  15.  
  16. It's the GNU c++.
  17. It was some sort of front-end, though (again, this is vague memorization :)
  18. not useable with any cc. Since gcc 2.0 (they are now at 2.2.2 or higher,
  19. I lost count), C++ is built into the cc, so you don't need that yucky
  20. front-end any more. Of course, for us it would be perfect, as we don't
  21. have to rewrite the code generator. If lcc can compile the output of
  22. g++: Great! I'm dancing on the table! :) (Now, don't ask which one ...
  23. it's _not_ a lookup-table).
  24.  
  25. >Do you need Orca/C to run it? Or Orca/M is required?
  26.  
  27. You would probably need GNO/ME and lcc to run it.
  28.  
  29. >>  Anyway, g++ is free.  The system as a whole (g++->lcc->asm->link)
  30. >>won't be terribly fast, but big deal, it's another language.
  31.  
  32. >Seems to be like a very long process just to get one program run. And it
  33. >will be half the speed of Orca/C.
  34.  
  35. As for the "very long process": It's just one more step, the g++->lcc one.
  36. Now, with ORCA/C, you have cc->asm->link, though cc and asm are (of course)
  37. under a common interface (in the case of ORCA/C, you even cannot get at
  38. the intermediary ASM ... oh well), and if you only have one sourcefile,
  39. link is under there, too.
  40.  
  41. Please understand the concept of a cc front-end ... when all this is done,
  42. you just call your cc like you did all the time, and cc will decide for
  43. you if it needs to link files, compile files, or send files through the
  44. C++ CPP.
  45.  
  46. As for the speed: I don't know about compilation speed, it will probably be
  47. slower, though ORCA/C itself is not a speed demon :) Execution speed
  48. should (hopefully) be faster.
  49.  
  50. Soenke
  51. -- 
  52. ===========================================================================
  53. More than silver, more than gold, I need   !    behrenss@informatik.
  54. electricity. I need it for my dreams.      !    tu-muenchen.de
  55. (RACTER)                                   !  FIDO: 2:246/13 Soenke Behrens
  56.