<div dir="ltr">What i have figured out so far is to list the default search path for gcc in MinGW is to issue the command<div>gcc -### -o foo foo.c</div><div><br></div><div>This will produce the following:</div><div><div>$ gcc -### -o foo foo.c > /c/dev/gcc.txt</div><div>gcc.exe: error: foo.c: No such file or directory</div><div>Using built-in specs.</div><div>COLLECT_GCC=c:\Tools\MinGW\bin\gcc.exe</div><div>COLLECT_LTO_WRAPPER=c:/Tools/MinGW/bin/../libexec/gcc/i686-w64-mingw32/4.9.1/lto-wrapper.exe</div><div>Target: i686-w64-mingw32</div><div>Configured with: ../../../src/gcc-4.9.1/configure --host=i686-w64-mingw32 --build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c/mingw491/i686-491-posix-dwarf-rt_v3-rev0/mingw32 </div><div>--with-gxx-include-dir=/mingw32/i686-w64-mingw32/include/c++ --enable-shared --enable-static --disable-multilib --enable-languages=ada,c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-time=yes --enable-threads=posix </div><div>--enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-sjlj-exceptions --with-dwarf2 </div><div>--disable-isl-version-check --disable-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror </div><div>--disable-symvers --with-gnu-as --with-gnu-ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --with-gmp=/c/mingw491/prerequisites/i686-w64-mingw32-static </div><div>--with-mpfr=/c/mingw491/prerequisites/i686-w64-mingw32-static --with-mpc=/c/mingw491/prerequisites/i686-w64-mingw32-static --with-isl=/c/mingw491/prerequisites/i686-w64-mingw32-static </div><div>--with-cloog=/c/mingw491/prerequisites/i686-w64-mingw32-static --enable-cloog-backend=isl --with-pkgversion='i686-posix-dwarf-rev0, </div><div>Built by MinGW-W64 project' --with-bugurl=<a href="http://sourceforge.net/projects/mingw-w64">http://sourceforge.net/projects/mingw-w64</a> </div><div>CFLAGS='-O2 -pipe -I/c/mingw491/i686-491-posix-dwarf-rt_v3-rev0/mingw32/opt/include -I/c/mingw491/prerequisites/i686-zlib-static/include -I/c/mingw491/prerequisites/i686-w64-mingw32-static/include' </div><div>CXXFLAGS='-O2 -pipe -I/c/mingw491/i686-491-posix-dwarf-rt_v3-rev0/mingw32/opt/include -I/c/mingw491/prerequisites/i686-zlib-static/include -I/c/mingw491/prerequisites/i686-w64-mingw32-static/include' </div><div>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'</div><div>Thread model: posix</div><div>gcc version 4.9.1 (i686-posix-dwarf-rev0, Built by MinGW-W64 project)</div></div><div><br></div><div>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.</div><div>No where that script is and how to fix it i dont know.</div><div><br></div><div>Any suggestions?</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 1:59 PM, Theuns Heydenrych <span dir="ltr"><<a href="mailto:theunsheydenrych@gmail.com" target="_blank">theunsheydenrych@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It looks like the input is coming from libtool.m4, but i have no idea how to debug this.<div>I might stare at the problem and not even know it.</div><div><br></div><div>Is there a way of listing the internal library paths of the compiler or the linker?</div><div>Because it looks like if during configuration it asks somehow for the internal paths and test that.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 12:18 PM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, Nov 04, 2014 at 12:10:32PM +0200, Theuns Heydenrych wrote:<br>
> Thanks Sandro<br>
> I did run the commands you suggested and yes,<br>
> "prerequisites/i686-w64-mingw32-static"<br>
> appear in the output.<br>
> It also appear with the extra ' in the output, like  prerequisites/i686-w64-<br>
> mingw32-static/lib'<br>
><br>
> How do i fix this?<br>
><br>
> Here is the grep result.<br>
> $ grep prerequisites/i686-w64-mingw32-static debug.log<br>
> + test '-L/c/mingw491/prerequisites/i686-w64-mingw32-static/lib'\''' = -L<br>
<br>
</span>Check higher in the output, where did this value come from ?<br>
<br>
 '-L/c/mingw491/prerequisites/i686-w64-mingw32-static/lib'\'''<br>
<br>
You might need to reference the output to some .m4 input which could<br>
be on your system (somewhere in autoconf install dir) and would sound<br>
broken.<br>
<span><br>
--strk;<br>
<br>
  ()   Free GIS & Flash consultant/developer<br>
  /\   <a href="http://strk.keybit.net/services.html" target="_blank">http://strk.keybit.net/services.html</a><br>
</span><div><div>_______________________________________________<br>
geos-devel mailing list<br>
<a href="mailto:geos-devel@lists.osgeo.org" target="_blank">geos-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geos-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/geos-devel</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>