From 601c7a3c9dcd5291de7a999b894759d03fa3d390 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 11 Sep 2021 20:42:56 -0500 Subject: [PATCH] note custom osxcross install directory --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 242c1e3..29976f2 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,14 @@ To build the cross toolchain (using `clang`), run: ./build.sh ``` -Or, set variable `UNATTENDED` to `1` to skip the prompt and proceed straight to +This installs the osxcross toolchain into `/target`. If you want to install somewhere +else, set the `TARGET_DIR` variable. For example: + +```shell + TARGET_DIR=/usr/local/osxcross ./build.sh +``` + +And/Or, set variable `UNATTENDED` to `1` to skip the prompt and proceed straight to the build: ```shell