[Gdal-dev] swig/python/setup.py

Frank Warmerdam warmerdam at pobox.com
Tue Nov 14 02:03:10 EST 2006


Howard,

The file gdal/swig/python/setup.py includes the line:

os.environ['CFLAGS'] = '-dynamic -g -O3 -Wall'

The -dynamic flag seems to cause terrible problems on my ubuntu
system and at the very least the gcc 3.4.3 info docs indicate it is
a darwin only flag.  Should it be hardcoded in setup.py?  In fact, I
also also a bit dubious about the other options.  What will happen if
the compiler isn't gcc?

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list