From 2fcf0b3d16fc83b6bc2360f4a7a11f72ae271945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrea=20Palmat=C3=A8?= Date: Thu, 21 Mar 2024 18:12:37 +0100 Subject: [PATCH] Updated README file --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index e3d18ec8..7620aed0 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,13 @@ available for all supported compilers. See the [compilation guide](https://www.glfw.org/docs/latest/compile.html) for more information about how to compile GLFW yourself. +## Cross-Compile for AmigaOS4 + +To cross-compile GLFW for AmigaOS4 you need to use cmake. For example: + +cmake -DCMAKE_TOOLCHAIN_FILE=/usr/ppc-amigaos/bin/cmake.ppc-amigaos -DCMAKE_INSTALL_PREFIX=/usr/ppc-amigaos/SDK/local/clib4 -DBUILD_SHARED_LIBS=OFF -DGLFW_BUILD_OS4=ON .. + +where cmake.ppc-amigaos is the cmake toolchain file that configure all AmigaOS4 related parameters ## Using GLFW