Skip to content

Commit 0ca8073

Browse files
committed
Fix Hashlink gcc command
1 parent 57256b4 commit 0ca8073

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: HashLink.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ Alternatively, you can compile for hl/c, and then compile C files with a C compi
7070
If you're using GCC, you can build with:
7171

7272
```
73-
gcc -O3 -o myapp -std=c11 -I out out/main.c -lhl -lheaps.hdll -lui.hdll -lfmt.hdll [-L/path/to/required/hdll]
73+
cd bin
74+
gcc -O3 -o mygame -std=c11 -I hlcout hlcout/game.c -lhl -lheaps.hdll -lui.hdll -lfmt.hdll [-L/path/to/required/hdll]
7475
```
7576

7677
For template, see also [Hashlink#706](https://github.com/HaxeFoundation/hashlink/pull/706).

0 commit comments

Comments
 (0)