diff options
author | Christian Cunningham <cc@localhost> | 2022-04-15 16:40:27 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-04-15 16:40:27 -0700 |
commit | a6f025906b75f8f527eef01d426048fe900540b9 (patch) | |
tree | 2dd655738b2f0eb38429434840bd068124039a4b | |
parent | f9804563de127bd3fd65992f1e31b6912d04b4d3 (diff) |
New Mac Toolchain Instructions
-rw-r--r-- | README.md | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -1,6 +1,9 @@ # Jobbed ## Build Information + + - Cross Compiler: GCC ARM Cross Compiler arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]. + ### Building (Debian, WSL) - Clone the repository. - Ensure you have the `gcc-arm-none-eabi` cross compiler installed `# apt install gcc-arm-none-eabi`. @@ -9,22 +12,16 @@ - On WSL you may also need to run `# apt install build-essential git` to get `make` and `git` - For faster building, it is recommended to run `make clean;make -f Unix.mk -j4`, where 4 can be adjusted to the amount of parallel jobs that the system can perform -### Building MacOS with Cross Compiler from Homebrew - - Clone the repository - - Ensure you have the `gcc-arm-embedded` formulae installed `$ brew install gcc-arm-embedded`. - - From the root of the directory, i.e. in `Jobbed`, execute `make -f Unix.mk` - - The built image is found in `build/kernel7.img` and can be copied to the root of the Raspberry Pi SD card's first parition - -### Building MacOS with Cross Compiler from ARM's website +### Building on MacOS - Clone the repository - - Ensure you have the `gcc-arm-embedded` installed from the website, 10-3 2021 July - - From the root of the directory, i.e. in `Jobbed`, execute `make -f Mac.mk` + - From the root of the directory, i.e. in `Jobbed`, execute `make -f Mac.mk init` to install the toolchain + - Then execute `make -f Mac.mk` to build the Raspberry Pi Image - The built image is found in `build/kernel7.img` and can be copied to the root of the Raspberry Pi SD card's first parition ### Building (Google Colab) - `!git clone https://github.com/TerminalCursor/Jobbed.git` - - `!apt install gcc-arm-none-eabi` - - `!cd Jobbed; make -f Unix.mk` + - `!cd Jobbed; make -f Colab.mk init` + - `!cd Jobbed; make -f Colab.mk` - The built image is found in `Jobbed/build/kernel7.img` and can be copied to the root of the Raspberry Pi SD card's first parition - Currently, it appears that the Ubuntu Distribution's cross compiler is not properly assembling the binaries. This issue is being looked into |