[Gdal-dev] swig/python/setup.py
Howard Butler
hobu at iastate.edu
Tue Nov 14 08:22:57 EST 2006
Frank,
Oops. That's just a spurious commit. I was trying to influence
distutil's compiler flags on a system install of Python on OSX. For
Python 2.3, at least, that hack only causes the flags to go on the
end instead of replacing them outright. I was attempting to shut off
the strict prototypes squawking that OSX defaults to.
Howard
On Nov 14, 2006, at 1:03 AM, Frank Warmerdam wrote:
> 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
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>
More information about the Gdal-dev
mailing list