Skip to content

Commit

Permalink
Improve the readme with regards to building windows binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
egli committed Mar 10, 2021
1 parent dcc4102 commit 06efb3a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,21 @@ root@74a8b1ad5e03:/usr/src/liblouisutdml#

# Docker for cross-compiling

You can use a Docker image to cross-compile liblouisutdml using mingw.
You can use a Dockerfile to cross-compile liblouisutdml using mingw
either for 32 or for 64 bit architecture:

``` console
docker build -f Dockerfile.mingw .
# for 32 bit architecture
docker build -f Dockerfile.win32 .
# for 64 bit architecture
docker build -f Dockerfile.win64 .
```
Then grab the artifact from the docker container.

Or instead let the Makefile do it all for you:

``` console
make distwin
```

[liblouis]: http://www.liblouis.org/
Expand Down

0 comments on commit 06efb3a

Please sign in to comment.