PC app build: updated OSX build scripts

This commit is contained in:
ole00
2025-11-08 20:35:41 +01:00
parent cd7fd32ecd
commit e2e3aaa365
3 changed files with 16 additions and 7 deletions
-7
View File
@@ -1,7 +0,0 @@
# path to your Osx cross-compiler
CC=~/opt/osxcross/bin/o64-clang
GCOM=`git rev-parse --short HEAD`
$CC -g3 -O0 -D_OSX_ -DNO_CLOSE -DGCOM="\"g${GCOM}\"" -o afterburner_osx src_pc/afterburner.c src_pc/exerciser.c
+8
View File
@@ -0,0 +1,8 @@
# path to your Osx cross-compiler (https://github.com/tpoechtrager/osxcross)
export PATH=~/dev/osxcross2/bin:$PATH
CC=arm64-apple-darwin24.4-clang
GCOM=`git rev-parse --short HEAD`
$CC -g3 -O0 -D_OSX_ -DNO_CLOSE -DGCOM="\"g${GCOM}\"" -o afterburner_osx_arm src_pc/afterburner.c src_pc/exerciser.c
+8
View File
@@ -0,0 +1,8 @@
# path to your Osx cross-compiler (https://github.com/tpoechtrager/osxcross)
export PATH=~/dev/osxcross2/bin:$PATH
CC=x86_64-apple-darwin24.4-clang
GCOM=`git rev-parse --short HEAD`
$CC -g3 -O0 -D_OSX_ -DNO_CLOSE -DGCOM="\"g${GCOM}\"" -o afterburner_osx_x86 src_pc/afterburner.c src_pc/exerciser.c