home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20982 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  3.1 KB

  1. Path: sparky!uunet!mcsun!uknet!edcastle!ngse18
  2. From: ngse18@castle.ed.ac.uk (J R Evans)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Sozobon (or other free C's): would this strategy work?
  5. Message-ID: <29980@castle.ed.ac.uk>
  6. Date: 8 Jan 93 13:22:01 GMT
  7. References: <29879@castle.ed.ac.uk> <BRAD.93Jan7094517@wendel.jpl.nasa.gov>
  8. Distribution: comp
  9. Organization: Edinburgh University
  10. Lines: 49
  11.  
  12. brad@wendel.jpl.nasa.gov (Brad Pickering) has offered a further, very
  13. encouraging note to this thread.  I will try again to contact him by
  14. email (Brad -- did you get the note I sent?).  Brad had previously 
  15. remarked (<BRAD.92Dec29112739@tazboy.jpl.nasa.gov>):
  16.  
  17. > So far I have been able to run some very simple
  18. > programs like 'echo' and 'cp'.  I still have lots of problems with
  19. > more complicated programs like 'sh'.  I am especially having difficulty
  20. > with the fork calls.  
  21.  
  22. which left me with the impression that his project had a long way to go.
  23. However his comments this week (<BRAD.93Jan7094517@wendel.jpl.nasa.gov>)
  24. suggest that he has made much better progress:
  25.  
  26. >So far I have Sozobon C running on my mac under my TOS emulator. It
  27. >is able to produce atari programs that can run under the emulator (or
  28. >a real atari I assume).  I haven't built any mac programs yet
  29. >because I have to port over a few more tools from my unix environment.
  30.  
  31. Brad isn't specific, but I assume from this that his emulator is
  32. *exactly* as he describes it -- an emulator for TOS, the component
  33. of the Atari ROMs which support an MS-DOS-like basic I/O system, and
  34. Eric Smith's multi-tasking modifications (Mint).  Well done, Brad!
  35. [He doesn't say, but I assume that he has made no attempt to emulate
  36. the ST's GUI, GEM.  That would be a very hard task.]  As he implies,
  37. it means that a lot of tools and CLI based applications -- most of them
  38. previously ported from Unix or DOS -- can also be easily transported.
  39.  
  40. The point of this message is to say that I had not included such a
  41. step in my proposal, simply because it is not essential to the process
  42. of transferring Sozobon (or whatever) to the Mac.  This does not mean
  43. that it is anything other than a valuable development in its own right.
  44. A TOS-like environment plus command shell provides a potential substitute
  45. for MPW or Think C (admittedly very different from either!).  
  46.  
  47. It appears that Brad has been looking at the pros and cons of this from
  48. much the same viewpoint as myself.  Eric Sink and Jon Witte have
  49. already pointed out to me that Toolbox callbacks present a problem to an
  50. unmodified compiler, and will require the programmer to provide a little
  51. help in the interfacing, but I agree with Brad, that this is a small
  52. price to pay for a functional small C compiler.  There is still much
  53. work to be done in getting even a small library to support the Mac
  54. Toolbox, but it sounds as if Brad's efforts are an excellent platform
  55. to build from, and I will be offering to help to the extent I can.
  56. Hopefully, at some point in this, we may be able to bring into play
  57. the work that Eric has contributed with the Harvest C linker, and Stan
  58. Shebs' efforts with gcc.  This is looking most hopeful.
  59.  
  60. Russ
  61.