Hi Bert,
This sounds fantastic. Also, it would enable me to actually make relevant yaml
tests that guard against changes in the code with unforeseen side effects for
the Danish tables, something that has been difficult until now.
Bue
Fra: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] På vegne af Bert Frees
Sendt: 27. september 2016 17:06
Til: liblouis-liblouisxml@xxxxxxxxxxxxx
Emne: [liblouis-liblouisxml] Re: SV: yaml libraries on cross-compiliation
I do the cross-compiling with Docker now. I do this because since we've added
the YAML dependency you need to cross-compile YAML too, and managing all this
in a Docker container is a bit easier.
This is the Dockerfile we use for that:
https://github.com/liblouis/liblouis/blob/master/Dockerfile.dev
We also have two new Make targets:
make distwin32
make distwin64
Our next release will include a precompiled Windows binary of lou_checkyaml
that actually works (currently it says "Skipping tests as libyaml was not
found"), so that people like Bue can use it to test their local table changes.
Hope this helps,
Bert
2016-09-27 13:15 GMT+02:00 Michael Gray <mgray@xxxxxxx>:
Have you tried running them in Cygwin, https://www.cygwin.com/ ? I got tired ;
of MSYS and MSYS2 and went back to using it.
MRG
mgray@xxxxxxx
_____
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] on behalf of Bue Vester-Andersen
[bue@xxxxxxxxxxxxxxxxxx]
Sent: Monday, September 26, 2016 4:11 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] SV: yaml libraries on cross-compiliation
Hi,
It would in deed be nice if the yaml tests could run on Windows. My development
and testing could then be done altogether on Windows. However, I don't know how
well the yaml library runs on windows.
Bue
Fra: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] På vegne af Michael Gray
Sendt: 26. september 2016 16:15
Til: liblouis-liblouisxml@xxxxxxxxxxxxx
Emne: [liblouis-liblouisxml] yaml libraries on cross-compiliation
LibLouis no longer cross compiles for Windows on Linux using MinGW. It cannot
find the yaml library.
MRG
mgray@xxxxxxx