mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-21 17:55:13 -05:00
INSTALL.md update for macOS (12 Monterey)
This commit is contained in:
parent
68710c6f0f
commit
7b45d15a31
10
INSTALL.md
10
INSTALL.md
|
|
@ -104,17 +104,25 @@ xcode-select --install
|
|||
|
||||
You will also need the following packages:
|
||||
|
||||
* gcc (14.x.x)
|
||||
* meson (>= 1.3.0)
|
||||
* wine (to run the mwcc executables)
|
||||
* libpng
|
||||
* pkg-config
|
||||
|
||||
These can be installed using Homebrew; if you do not have Homebrew installed, refer to the instructions [here](https://brew.sh/). Once Homebrew is installed, run:
|
||||
|
||||
```
|
||||
brew update
|
||||
brew install meson arm-none-eabi-binutils
|
||||
brew install gcc@14 meson libpng pkg-config arm-none-eabi-binutils
|
||||
brew install --cask wine-stable
|
||||
```
|
||||
|
||||
On macOS Monterey (12) or earlier, you may also need GNU Coreutils installed to run the build script.
|
||||
```
|
||||
brew install coreutils
|
||||
```
|
||||
|
||||
## Linux
|
||||
|
||||
Building the ROM requires the following packages. If you cannot find one or more of these using your package distribution, it may be under a different name.
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ if [ "$(uname -s)" = "Linux" ]; then
|
|||
cross_file="cross_unix.ini"
|
||||
fi
|
||||
elif [ "$(uname -s)" = "Darwin" ]; then
|
||||
native_file="native_unix.ini"
|
||||
native_file="native_macos.ini" # using gcc-14/g++-14 to avoid apple clang
|
||||
cross_file="cross_unix.ini"
|
||||
else
|
||||
native_file="native.ini"
|
||||
|
|
|
|||
8
meson/native_macos.ini
Normal file
8
meson/native_macos.ini
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[binaries]
|
||||
c = 'gcc-14'
|
||||
cpp = 'g++-14'
|
||||
ar = 'ar'
|
||||
|
||||
makebanner = ['wine', root + '/tools/maketools/makebanner.exe']
|
||||
makelcf = ['wine', root + '/tools/maketools/makelcf.exe']
|
||||
makerom = ['wine', root + '/tools/maketools/makerom.exe']
|
||||
Loading…
Reference in New Issue
Block a user