[geos-devel] MinGW build of Geos on Win7

Sandro Santilli strk at keybit.net
Tue Nov 4 08:16:39 PST 2014


On Tue, Nov 04, 2014 at 02:55:28PM +0200, Theuns Heydenrych wrote:
> What i have figured out so far is to list the default search path for gcc
> in MinGW is to issue the command
> gcc -### -o foo foo.c
> 
> This will produce the following:

[..]

> CPPFLAGS= LDFLAGS='-pipe
> -L/c/mingw491/i686-491-posix-dwarf-rt_v3-rev0/mingw32/opt/lib
> -L/c/mingw491/prerequisites/i686-zlib-static/lib
> -L/c/mingw491/prerequisites/i686-w64-mingw32-static/lib'

[..]

> So there right at the end is the "offending" path, some script that should
> extract the -L paths, is bringing the ' character in, at the end of the
> line.

Good catch!

> No where that script is and how to fix it i dont know.
> Any suggestions?

How about writing your own gcc wrapper to catch that call
and print some context ?

Or comment out portions of configure.ac until that call is not
performed anymore and chase the offending macro, I would start with:

  AC_PREREQ([2.52])

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the geos-devel mailing list