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