[gdal-dev] GDAL 1.5.0 questions

Roger Bivand Roger.Bivand at nhh.no
Tue Jan 1 17:15:58 EST 2008


On Tue, 1 Jan 2008, Frank Warmerdam wrote:

> Roger Bivand wrote:
>>  Hi,
>>
>>  Two questions: first on the size of GDAL 1.5.0 binaries - on both Linux
>>  (RHEL4
>>  i386) and Windows (MSYS/MinGW), the GDAL library libgdal.so.1.12.0 and
>>  respectively libgdal-1.dll are four times larger than those built on the
>>  same
>>  platforms with the same configure options (Linux 5019970 : 22203698;
>>  Windows
>>  5279462 : 17919972). Have I missed a configure option or compile flag?
>
> Roger,
>
> Optimization and debugging selection changed significantly in 1.5.0.  You
> are likely getting build options "-O2 -g" instead of the old default of
> "-O2", and so your library has debug info.  Try:
>
> export CXXFLAGS=-O2
> ./configure ...

Frank,

Thanks, I'd thought of this as you were replying, and am now down to Linux 
5948194, Windows 6277912 with:

export CXXFLAGS=-O2
export CFLAGS=-O2

on Linux, and (so far) editing GDALmake.opt on MSYS.

I'll see if I can find a workable way of supporting the MSYS file system 
root as Mateusz asked.

Best wishes,

Roger

>
>>  PS. The Gmane feed is still pointing at gdal-dev at lists.maptools.org.
>
> I'm afraid that is beyond my control.
>
> Best regards,
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the gdal-dev mailing list