[gdal-dev] .exe extension missing for gdal-2.2.0 binaries

Velagandula, Sravan Kumar sravan.velagandula at openscg.com
Mon Jun 12 00:12:32 PDT 2017


If it may help anyone running into the same issue I was able to build the
binaries with the .exe
suffix without having to edit the GDALmake.opt by doing the following:

a) export MINGHOST=x86_64-w64-mingw32
b) Use the --host option as "--host=${MINGHOST}" of the configure command.

Thanks,
Sravan

On Fri, Jun 9, 2017 at 3:44 PM, Velagandula, Sravan Kumar <
sravan.velagandula at openscg.com> wrote:

> I apologize for not having confirmed that I am using the same toolchain
> for both the builds.
>
> Thanks for the valuable feedback. I would tweak the configure script to
> get my builds going.
>
> - Sravan
>
> On Fri, Jun 9, 2017 at 3:40 PM, Even Rouault <even.rouault at spatialys.com>
> wrote:
>
>> On vendredi 9 juin 2017 15:31:12 CEST Velagandula, Sravan Kumar wrote:
>>
>> > Hello Even,
>>
>> >
>>
>> > I see that the value of ${host_os} is "mingw64" for gdal-2.20 and
>>
>> > "mingw32" for gdal-2.0
>>
>>
>>
>> OK, so with a different toolchain between both builds ?
>>
>>
>>
>> Anyway, should be now fixed per https://trac.osgeo.org/gdal/ticket/6919
>> that changes the mingw32* pattern to mingw* to catch both cases.
>>
>>
>>
>> Or you can just edit GDALmake.opt after ./configure , look for the
>>
>> EXE =
>>
>> line and modify it as
>>
>> EXE = .exe
>>
>>
>>
>> Even
>>
>>
>>
>> --
>>
>> Spatialys - Geospatial professional services
>>
>> http://www.spatialys.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170612/143c6a7f/attachment.html>


More information about the gdal-dev mailing list