[Distutils] Re: Distutils-SIG digest, Vol 1 #79 - 1 msg

Guido van Rossum guido@CNRI.Reston.VA.US
Sat, 10 Jul 1999 09:42:50 -0400


Greg,

Only a few comments:

1) There's no command line interface on the Mac, but the compiler they
use (Metroworks) can be controlled through an external "event"
interface (Apple's response to COM, except Apple had it long before
COM even existed :-).  So there's no reason why it couldn't be done on 
the Mac.

2) I'm not sure if you're trying to add a method for each of the
typical cc options (I recognized -I, -D, -U, etc.).  Looks like you're
missing -R, which is like -L but works at runtime, and is needed if
you're using shared libraries that live in non-standard places.

3) I stringly prefer shared lib over dynamic lib (on Windows everyone
calls them "DLL" anyway).

4) Do you really not want to support cross-compiling?  The Windows/ce
folks will regret that ;-)  But I don't think you need to support -I
(without a directory) for that; typically the compiler has a different 
name and all is well.  I bet -I without args is intended for people
who want to experiment with a hacked set of system includes; they can
add it to the compiler command name if they want to.

5) When creating a shared lib from libraries only, you need to specify 
an entry point.  Is this useful to support?

6) I haven't been following distutils very closely, so forgive me if
the above makes no sense :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)