home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / magazines / progs / spectrum2 / !Spectrum2 / Articles / PD / PDUtils / GCC < prev    next >
Encoding:
Text File  |  1994-09-13  |  2.3 KB  |  58 lines

  1. {fon:homFF00A6}
  2. C at a reasonable price?
  3. {fon:tri}
  4. {spr:r17}
  5.   Everybody knows that C is THE language if you want to create
  6. Desktop Applications.  Acorn recommends it as the language to create
  7. large projects, but the Acorns Development Environment will set you
  8. back more than £100, RISC Developments EASY C will cost you £50. 
  9. It's a large outlay if you just want to dabble.
  10.  
  11.   However this shouldn't worry you!  There is a cheap alternative,
  12. GNU C/C++ (or GCC), a full C AND C++ compiler (the first C++
  13. compiler on the Arc). What's so great about it you cry out. Well
  14. it's free, nearly.
  15.  
  16.   The distribution discs come with the GCC  application, which
  17. includes the C and C++ compiler, along with an assembler and a few
  18. other bits.  DRLink and UNIX Lib are supplied, which gives you
  19. everything you need.  Unfortunately everything is in separate
  20. directories, so it all needs to be copied onto a hard disk, and a few
  21. environment variables need to be set up.  Once this is done, you'll
  22. need to free up about 3.5meg of memory, and it's ready to run.  If
  23. you don't have enough memory, a small application called Virtual is
  24. available from good PD sources.  This gives you Virtual memory (as
  25. with PC's and MAC's), or in English, disk space is used as memory.
  26.  
  27.   The next task is writing your first program, it's a good job the
  28. UNIX lib comes with a few.  Simply go to the command line or a task
  29. window and call the compiler.  It'll take care of linking for you. 
  30. That's it, you now have some executable code.
  31.  
  32.   GCC is covered by the GNU software licence, so Simon Callan (who is
  33. responsible for the RISC-OS port) does not supply a warranty service,
  34. but he tries to fix bugs as soon as they are reported, and will give
  35. you some help, since the package does not come with a manual as such.
  36.  
  37.   If you want to get hold of a copy of GCC, then you can write to me
  38. or Simon Callan at:
  39.  
  40.         Simon Callan
  41.         11 Northmead
  42.         Redhill
  43.         Surrey
  44.         RH1 2ED
  45.  
  46.   Make sure you send 3 ADFS 800k (E) discs filled with PD, a covering
  47. letter and return postage.
  48.  
  49. Ease of use - 5 - Setting up is a pain.
  50. Features - 6 - It's got everything you'll need to learn C, but you
  51. need a desktop library to code decent applications.
  52. Value - 9 - You don't get much more for nowt!
  53. Overall - 6 - OK for learning C, but if you're a serious coder you'll
  54. need more.  
  55.  
  56. {spr:l05}
  57. {end}
  58.