[Distutils] How to find out the default include path

M.-A. Lemburg mal@lemburg.com
Wed Oct 23 07:55:01 2002


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

Are there similar settings or environment variables on other
platforms ?

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/