<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 9 Jan 2019 at 18:38, Nicolas Cellier <<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">Le mer. 9 janv. 2019 à 11:23, Fabio Niephaus <<a href="mailto:lists@fniephaus.com" target="_blank">lists@fniephaus.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div dir="ltr"><div dir="ltr">Hi,<br></div><div><div class="gmail_quote"><div dir="ltr">On Wed, Jan 9, 2019 at 9:28 AM Tobias Pape <<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
Hi,<br>
<br>
> On 09.01.2019, at 09:06, Craig Latta <<a href="mailto:craig@blackpagedigital.com" target="_blank">craig@blackpagedigital.com</a>> wrote:<br>
> <br>
> <br>
> <br>
> Hi Ben--<br>
> <br>
>> Just for the challenge of it...<br>
>> <br>
>> Following on from my experiment building a Windows hello-world on a<br>
>> Travis linux box, I had a go at building a Squeak-Windows VM on a<br>
>> Travis linux box.<br>
>> <br>
>> I'm pleased to report success.<br>
> <br>
>     Way cool!<br>
> <br>
<br>
Btw: Travis now also supports windows (early beta, tho): <a href="https://docs.travis-ci.com/user/reference/windows/" rel="noreferrer" target="_blank">https://docs.travis-ci.com/user/reference/windows/</a></blockquote></div></div></div></blockquote></div></div></blockquote><div><br></div><div>That is what actually kicked off this experiment.  The Travis Windows host doesn't come with Cygwin pre-installed and installing it might take 10 minutes</div><div>and then I discovered mingw was pre-installed on their Ubuntu Xenial boxes, so I thought it was worth a try. </div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="gmail_quote"><div><br></div><div>That's very cool! Would you mind giving the new Windows builds on Travis a go as well? It'd be fantastic if we could bring all CI builds together. I don't know much about mingw compatibility, but I assume it's probably best to build on Windows if possible?</div></div></div></div></blockquote></div></div></blockquote><div><br></div><div>Before trying on Travis I got the the Windows build working locally on my Win10 Windows Subsystem for Linux (Ubuntu Xenial) install. </div><div>Travis report that WSL will be preinstalled... <a href="https://travis-ci.community/t/support-for-cygwin-or-wsl/440">https://travis-ci.community/t/support-for-cygwin-or-wsl/440</a>.</div><div>From what I've read recently I don't think building on the Windows side much advantage.  </div><div>Under mingw is *still* a cross-compiling when you run it under Cygwin shell, and mingw cross-compiling from a Ubuntu shell is no different.</div><div><br></div><div>The only impediment is that mingw-clang is not preinstalled on Travis Linux box, which blocked me from building some of Pharo's third-party libs.</div><div>But I'm not sure the impact of that. Subsequently I read that clang was fundamentally designed to cross compile from single binary </div><div>versus gcc producing a separate binary for each cross compiler.  So maybe its just a matter of getting clang's --host & --target flags set right.</div><div>There are also some options like wclang to help. (<a href="https://github.com/tpoechtrager/wclang">https://github.com/tpoechtrager/wclang</a>)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="gmail_quote"><div></div></div></div></div></blockquote><div><br></div><div>And if we want to run tests, we need a windows machine anyway, whatever the build infrastructure.</div><div><br></div></div></div></blockquote><div><br></div><div>AFAIA tests are currently not being run Windows anyway ;)</div><div><br></div><div>But anyway, once the vm executable is created, it seems that can be invoked from the WSL side. See "Windows <-> Linux Interop" here...</div><div><a href="https://blogs.msdn.microsoft.com/commandline/2017/04/11/windows-10-creators-update-whats-new-in-bashwsl-windows-console/">https://blogs.msdn.microsoft.com/commandline/2017/04/11/windows-10-creators-update-whats-new-in-bashwsl-windows-console/</a><br></div><div><br></div><div><br></div><div>So yes, I'd be glad dig into Windows boxen on Travis.</div><div>cheers -ben</div><div> </div></div></div></div></div></div></div>