[Distutils] ccompiler.py for an IDE

Jack Jansen jack@oratrix.nl
Wed Nov 15 04:29:01 2000


> On Tue, 14 Nov 2000, Jack Jansen wrote:
> 
> > This isn't an option for CodeWarrior (or, at least, it would mean an
> > extraordinary amount of work), as the compilers and such are merely
> > plugins for the IDE, and everything is driven from the projectfile.
> 
> Couldn't you generate a lot of "small project files" each of which
> would compile a single c into a single o, and then one project
> file for the link stage? Or is that the extaordinary amount of work?
> (On the face of it, it shouldn't be very different then generating
> a command line, but then again, I haven't seen a Mac for a few millions
> of years). Another option would seem to be to use the Apple version
> of COM (sorry, I forgot how they call it) to talk with a persistent
> IDE. Wouldn't that work? Or would that be too hard?

This is both a lot of work, and possibly hard as well (I don't think there is 
anything corresponding to the ".obj" file in the normal course of events, so I 
would have to find some sort of a hack there).


> It's probably all right if nothing better comes along, but the problem
> is that errors would come up in the wrong place if there are any.

I'm not sure I understand this. Errors from the compiler will always come up 
in a window, there's no such thing as standard error on the Mac.

--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm