
Thomas Heller wrote:
"M.-A. Lemburg" <mal@lemburg.com> writes:
M.-A. Lemburg wrote:
Is there a way to find out the default include path used by a compiler ? Does distutils have an API for this ? I scanned the code but couldn't find any hint.
So far I found these defaults:
Linux: libs: /lib, /usr/lib headers: /usr/include
Windows: libs: $LIB headers: $INCLUDE
Hm, what do you mean?
I took the Windows environment vars from the the file vcvars32.bat that comes with VC++
These are not always set on Windows, depending on how MSVC was installed.
You are aware of the function get_msvc_paths() in msvccompiler.py?
Not until now :-) What about other Unixes and MacOS ? Thanks, -- Marc-Andre Lemburg CEO eGenix.com Software GmbH _______________________________________________________________________ eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,... Python Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/