Difference between revisions of "Install/macOS"
From MSX Game Library
< Install
m (→SDCC) |
(→Build) |
||
Line 16: | Line 16: | ||
Then the project/sample's <tt>build.sh</tt> script will start calling SDCC components or the binaries. | Then the project/sample's <tt>build.sh</tt> script will start calling SDCC components or the binaries. | ||
macOS will block that for security reasons, so build.sh will fail. | macOS will block that for security reasons, so build.sh will fail. | ||
− | + | You must de-quarantine the freshly built/downloaded binaries: | |
− | + | ||
− | + | <tt>xattr -r -d com.apple.quarantine ./MSXgl</tt> | |
− | |||
− | |||
− | |||
− | |||
The full process takes about 10~15 minutes to get it up and running. | The full process takes about 10~15 minutes to get it up and running. |
Revision as of 13:17, 1 October 2023
For the installation, macOS users need to manually setup their environment before they can run the MSXgl's Build tool. Here is a guide provided by user Syntrax to help you in this process.
Node.js
SDCC
- Install SDCC 4.2.0 (brew install sdcc)
Tools
Go in to the MSXgl folder and recompile all the enclosed tools. As sources are included, its mostly running ./build.sh on every folder. At minimum, you require the Xcode Command line tools (xcode-select --install). That will compile for example MSXhex, MSXbin and msxtar.
Build
Then the project/sample's build.sh script will start calling SDCC components or the binaries. macOS will block that for security reasons, so build.sh will fail. You must de-quarantine the freshly built/downloaded binaries:
xattr -r -d com.apple.quarantine ./MSXgl
The full process takes about 10~15 minutes to get it up and running.
Note: