From 2871cbe295f2076bc45c089c0c9bf23a549a2767 Mon Sep 17 00:00:00 2001 From: deadwood Date: Thu, 2 Feb 2023 19:00:48 +0100 Subject: [PATCH] Add information on using cross-compiler outside of build system --- INSTALL.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 3c7cb9f84f..90551401c9 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -10,8 +10,9 @@ For armhf build, please install additional packages: ## Clone & build - $ mkdir myrepo - $ cd myrepo + $ cd + $ mkdir arosbuilds + $ cd arosbuilds $ git clone https://github.com/deadw00d/AROS.git AROS $ cp ./AROS/scripts/rebuild.sh . $ ./rebuild.sh @@ -28,6 +29,9 @@ Start AROS by: $ cd core-linux-x86_64-d/bin/linux-x86_64/AROS $ ./boot/linux/AROSBootstrap +In order to use the cross-compiler built in step 1 for compiling your own projects (which don't use AROS builds system / mmakefile.src approach), you need to provide --sysroot parameter, for example: + + $ /arosbuilds/toolchain-core-x86_64/x86_64-aros-gcc --sysroot=/arosbuilds/core-linux-x86_64-d/bin/linux-x86_64/AROS/Development ### Amiga-m68k