<div dir="ltr"><div>By the way, I don't mind maintaining this patch outside of Gambit, just thought I'd share it here in the case that it's useful.</div><div><br></div><div>For context, I'm looking to get updated Gambit versions into package managers, for ease of installation/upgrades.  I updated Gambit to 4.8.8 in Gentoo Linux. <a href="https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-scheme/gambit?id=bd6727aa850ed00d5c16c448a7a50114b55b86b1">https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-scheme/gambit?id=bd6727aa850ed00d5c16c448a7a50114b55b86b1</a><br></div><div><br></div><div>I'm now looking to add a new Gambit package to MSys2 (<a href="http://www.msys2.org/">http://www.msys2.org/</a>), a fork of cygwin, built on Arch Linux's "pacman" manager.  A few months ago, I had issues with using "./configure --prefix=$FOO", because with msys2,  "$FOO" had to be in the "unix" format (e.g. /usr), but Gambit needs "$FOO"  to be a path in native Windows format, as file I/O on that path uses native windows routines <a href="http://webmail.iro.umontreal.ca/pipermail/gambit-list/2016-October/008413.html">http://webmail.iro.umontreal.ca/pipermail/gambit-list/2016-October/008413.html</a></div><div><br></div><div>So my patch, on _any_ mingw system (which might be too broad), changes to ___GAMBITDIR variable to a native windows path, with forward slashes instead of backslashes, while not effecting the --prefix variable at all</div><div><br></div><div>I plan to get a build of gambit 4.8.8 with my patch into MSys2 somewhat soon.  If my patch is useful to you, great, if not, I'll make a patch as part of the MSys2 build of Gambit.</div><div><br></div><div>Thanks,</div><div>Bill</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 23, 2017 at 8:48 PM, Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you explain what this does?  I don’t like relying on “cygpath” which I don’t think exists on plain msys.<br>
<br>
Marc<br>
<div><div class="h5"><br>
<br>
<br>
> On Mar 23, 2017, at 8:42 PM, Bill Six <<a href="mailto:billsix@gmail.com">billsix@gmail.com</a>> wrote:<br>
><br>
> Marc,<br>
><br>
> I patched <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> so that Gambit builds and works correctly on msys2 on windows.<br>
><br>
> Bill<br>
</div></div>> <0001-build-on-msys2-windows-<wbr>by-using-the-native-windows-p.<wbr>patch>________________________<wbr>_______________________<br>
> Gambit-list mailing list<br>
> <a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
> <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
<br>
</blockquote></div><br></div>