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