Documentation: Update BuildInstructionsMacOS.md

- gcc@10 is not available for M1, using gcc 11.
- the path to qemu is now dynamic
This commit is contained in:
Nicolas Danelon 2021-10-24 10:45:37 -03:00 committed by Andreas Kling
parent 03494ed6ba
commit b233cdde77
Notes: sideshowbarker 2024-07-18 01:36:42 +09:00

View file

@ -8,7 +8,7 @@ Make sure you also have all the following dependencies installed:
```console
# core
brew install coreutils e2fsprogs qemu bash gcc@10 imagemagick ninja cmake ccache rsync
brew install coreutils e2fsprogs qemu bash gcc@11 imagemagick ninja cmake ccache rsync
# (option 1) fuse + ext2
brew install m4 autoconf automake libtool
@ -30,7 +30,7 @@ If you are on macOS Big Sur, you will need to manually enable QEMU's hardware ac
creating a new file called `entitlements.xml` in the `Build/` folder, with the content below, and then running this
command:
`codesign -s - --entitlements entitlements.xml --force /usr/local/bin/qemu-system-x86_64`
`codesign -s - --entitlements entitlements.xml --force $(which qemu-system-x86_64)`
<details>
<summary>Content for 'entitlements.xml'.</summary>