aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-02-12 15:10:29 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-02-12 15:10:29 +0000
commit01af4a180dd455b0112f38cd9dfe24108f741c7c (patch)
tree9d371d47e4d6b935a5c3ca881aec8ccce3495238
parentdd896b93e33038119fabda0e73367e460a75996f (diff)
downloadcross-compile-hs-wine-01af4a180dd455b0112f38cd9dfe24108f741c7c.tar.gz
cross-compile-hs-wine-01af4a180dd455b0112f38cd9dfe24108f741c7c.zip
A few typosHEADmain
-rw-r--r--README.md17
1 files changed, 9 insertions, 8 deletions
diff --git a/README.md b/README.md
index cf90a21..2024906 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ What is needed:
- Cabal for Windows
- GHC for Windows
- MingGW-W64
-- SDL2 development for MinGW
+- SDL2 and SDL2_Image development for MinGW
- pkg-config-lite for Windows
- Wine on a Linux host (used Debian 11)
- Patience and luck!
@@ -46,21 +46,22 @@ Currently I'm using:
- SDL2 2.26.3
- SDL2_Image 2.6.3
-**Important**: you need to copy SDL2.dll and SDL2_image.dll to your `system32` directory in WINE, usually:
+**Important**: you need to copy SDL2.dll and SDL2_image.dll to your `system32` directory in Wine, usually:
```
~/.wine/drive_c/windows/system32/
```
-This is needed to compile sdl2 and sdl2-image. When you have your binary, you need to distribute those two DLLs with your .EXE.
+This is needed to compile sdl2 and sdl2-image. When you have your binary, you need to distribute those two DLLs with your `exe`.
## Updating packages
Run `bin/cabal-wine update` and Cabal should download the latest package list from hackage.
-## Building your peoject
+## Building your project
-Get into workdir/your-project and run:
-
-`../../bin/cabal-wine build --builddir build`
+Get into `workdir/your-project` and run:
+```
+../../bin/cabal-wine build --builddir build
+```
And it should work!
@@ -68,7 +69,7 @@ And it should work!
**Extra logging**
-Pass `-v` option when running `cabal-wine` for exta information.
+Pass `-v` option when running `cabal-wine` for extra output (useful with pkg-config issues).
**Failed to compile SDL2_Image**