home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 16087 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!gumby!wmu-coyote!22black
  3. From: 22black@sol.cs.wmich.edu (Martin Black)
  4. Subject: Re: GNU C and C++ for Amiga?????
  5. Message-ID: <1992Nov19.180752.6382@sol.cs.wmich.edu>
  6. Organization: Western Michigan Univ. Comp. Sci. Dept.
  7. References: <1992Nov19.002511.10918@rmece49.upr.clu.edu>
  8. Date: Thu, 19 Nov 1992 18:07:52 GMT
  9. Lines: 24
  10.  
  11. mefisto@rmece02.upr.clu.edu (Jaime R. Lopez Vazquez) writes:
  12.  
  13. >     I'm pretty new here in comp.sys.amiga.programmer.
  14. >From what I have seen many people here use GNU C with 
  15. >Amiga. How can be GNU C and C++ be used with Amiga? 
  16. >What set-up is necessary to access all the Amiga OS 
  17. >functions with GNU C and C++?
  18. >      I will appreciate any help on this.
  19.  
  20. Well, you need about 6megs free on your hard drive and at the very 
  21. minimum you need 3megs ram(1 meg chip 2 meg fast).  But that is really 
  22. cutting it close especially with c++ compiling.  And I think you need
  23. os 2.0 or greater.
  24.  
  25. The only thing else that needs to be known, is that to c++ compile 
  26. i'd suggest using this at the command line instead of the g++ script
  27. >  gcc "-xc++" -xnone programname.cc "-lg++"
  28. In that order, and obviously replace 'programname' with your program.
  29. make sure to include the quoatation marks.  And I would suggest you get
  30. 4meg of ram for this, but i have seen it done on less [ but small ones ]
  31.  
  32. Martin
  33.  
  34.  
  35.