home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22221 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  2.8 KB

  1. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!elroy!brad
  2. From: brad@tazboy.jpl.nasa.gov (Brad Pickering)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Free Development Tools
  5. Date: 26 Jan 93 09:24:00
  6. Organization: Jet Propulsion Laboratory, Pasadena, CA
  7. Lines: 47
  8. Distribution: world
  9. Message-ID: <BRAD.93Jan26092400@tazboy.jpl.nasa.gov>
  10. NNTP-Posting-Host: tazboy.jpl.nasa.gov
  11.  
  12.  
  13. For those people who don't mind a little (alot?) headache, there are free
  14. development tools that are useable on the Mac now.  The Sozobon C tools
  15. for the ATARI ST, which include a K&R C compiler, an assembler, a linker,
  16. and the make program, can be run under MacMiNT, a not quite complete port
  17. of MiNT from the ATARI.  MacMiNT is still very buggy, and it can't run
  18. some of the GNU programs yet, but it is working well enough to run the
  19. Sozobon tools.
  20.  
  21. There are many obstacles involved in using MacMiNT, many of which you may
  22. not realize until you've worked with it for a while.  Some of the obstacles
  23. I can warn you about are:  the object and executable file formats are
  24. different from the mac, you can't build regular mac programs (yet), and
  25. you have to use a editor that can read and write DOS formated text files.
  26.  
  27. The different format object files mean that you can't use libraries that
  28. where built with mpw or think compilers and visa versa.  The different
  29. format executable files mean that issues like segment loading and global
  30. variable reference are handled differently.  This can be very confusing
  31. at first (actually I think that the Mac's way of handling segments and
  32. globals is more confusing).
  33.  
  34. The reason you can't build regular Mac programs is because there is no way
  35. provided for your programs to call the MacOS or Toolbox.  You could write
  36. short assembly language stubs to call the toolbox/os but this is way too
  37. tedious.  I am working on a perl script to create k&r headers and assembly
  38. code from the MPW headers.  When I get this working I will distribute this
  39. and other tools needed to build regular mac programs.
  40.  
  41. You also need to worry about different end of line conventions.  The ATARI
  42. uses \r\n and the mac uses \r.  I use BBEdit because it can read and write
  43. both formats.
  44.  
  45. At this point I can only recommend MacMiNT and the Sozobon tools to people
  46. who have a lot of time, a lot of curriosity, or no money.  If you want
  47. to do serios development you should still get MPW or THINK tools.  If you
  48. are a hobbiest or a student, though, you might want to take a look at
  49. MacMiNT.
  50.  
  51. MacMiNT is available at mac.archive.umich.edu.  The binary version is in
  52. util/developer/macmint.sit.hqx.  The Think C 5.0 source is in
  53. development/source/macmint.sit.hqx.  The Sozobon tools are available at
  54. atari.archive.umich.edu.  The binary version is in Languages/sozobon1.zoo.
  55. The source version is in Languages/sozobon2.zoo.
  56.  
  57. Brad Pickering
  58. brad@tazboy.jpl.nasa.gov
  59.