From b0f2531886da3104107bf43c2c620cb421b26fab Mon Sep 17 00:00:00 2001 From: Rachel Date: Sun, 28 Jan 2024 13:15:07 -0800 Subject: [PATCH] Use MINGW_PACKAGE_PREFIX + update path --- INSTALL.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 7a658bd9ec..a7350a5a9b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -28,10 +28,13 @@ You now have the choice between two different environments to use to build the p Press 'Y' when prompted to confirm the update. The update process may take a few minutes. Once completed, the terminal will automatically close. -3. Reopen an MSYS terminal (pink icon) and enter the following command to install the necessary packages: +3. Reopen an MSYS terminal (pink icon) and enter the following commands to install the necessary packages: ``` - pacman -S git meson gcc mingw-w64-x86_64-arm-none-eabi-binutils + echo 'export MINGW_PACKAGE_PREFIX=mingw-w64-x86_64-' >> ~/.bashrc + echo 'export PATH=${PATH}:/mingw64/bin' >> ~/.bashrc + source ~/.bashrc + pacman -S git meson gcc "${MINGW_PACKAGE_PREFIX}arm-none-eabi-binutils" ``` Press 'Y' when prompted to confirm the installation.