Skip to content

Commit

Permalink
dev: add Linux <-> Windows cross-compile knowledge
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon committed Oct 11, 2024
1 parent 8e6b333 commit 83ed459
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/dev/windows.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# From linux (cross-compile)

```bash
v -cflags "-static" -os windows -subsystem windows -fast-math -no-bounds-checking -d shy_gamepad -d sdl_memory_no_gc -skip-unused ./puzzle_vibes
# Copy libSDL.dll to folder then
wine ./puzzle_vibes/puzzle_vibes.exe # much WOW
```

# Remove the `cmd.exe` window on launch

With `mingw-w64` from winlibs.com:
Expand Down

0 comments on commit 83ed459

Please sign in to comment.