[Gdal-dev] Universal GDAL build on OS-X ??

Howard Butler hobu.inc at gmail.com
Fri Oct 26 15:20:42 EDT 2007


On Oct 26, 2007, at 11:53 AM, Christopher Barker wrote:
>
>> SO, for GDAL, if you have all other dependencies universal, after   
>> running configure edit port/cpl_config.h and delete the two lines   
>> with WORDS_BIGENDIAN and HOST_FILLORDER, and replace them with:
>> #ifdef __BIG_ENDIAN__
>>    #define WORDS_BIGENDIAN 1
>>    #define HOST_FILLORDER FILLORDER_MSB2LSB
>> #else
>>    #undef WORDS_BIGENDIAN
>>    #define HOST_FILLORDER FILLORDER_LSB2MSB
>> #endif
>
> Is there some way we could automate this so that we could have a -- 
> with-osx-universal flag to configure?

I would gladly take a patch for this.  We already have precedent for  
the OSX framework stuff.

Howard



More information about the Gdal-dev mailing list