descriptionnone
repository URLhttps://github.com/rofl0r/mmix-cross.git
ownerretnyg@gmx.net
last changeSun, 12 May 2024 12:51:53 +0000 (12 12:51 +0000)
last refreshThu, 21 Nov 2024 07:35:09 +0000 (21 08:35 +0100)
content tags
add:
README.md

About newlib-cross

This is a small suite of scripts and patches to build a newlib gcc toolchain for a number of supported systems, or just regular newlib toolchain for baremetal systems that don't require any additional patches.

supported: mmix - cross-compiler for knuth's MMIX simulator. note: this compiler builds without custom patches, but only gcc 4.2.4 is tested (see configs/mmix). psp - cross-compiler for playstation portable, intended to be used with pspsdk ( https://github.com/pspdev/pspsdk ). supported are all versions where there exists a gcc-x.x.x-psp.diff in patches/.

./build.sh should build a cross compiler to $HOME/toolchains, no muss, no fuss. You should edit config.sh to select a config preset and eventually override paths, and component versions to your likings. you may even copy config.sh to another directory then run build.sh from there to avoid polluting the source dir, but clean.sh can always clean up after a build.

Notes on building normal cross compilers

only tested versions are the ones set by default.

Other scripts and helpers

Requirements

newlib-cross depends on:

The following are GCC dependencies, which can be installed on the host system, or installed automatically using GCC_BUILTIN_PREREQS=yes: ONLY NEEDED FOR GCC versions >= 4.3

Building GMP additionally requires m4.

shortlog
2024-05-12 rofl0radd psp-gcc 13.2.0 patchmaster
2024-05-12 rofl0rbump gcc11.2 - psp patch to latest upstream
2024-05-12 rofl0rfix build of C++ toolchain
2024-03-13 rofl0rupdate psp to new newlib 4.4.0.20231231 based toolchain/sdk
2024-03-05 rofl0rconfigs/psp: need to pass debug CFLAGS manually
2022-03-28 rofl0rpsp: we need to copy crt*.o, not just crt0.o
2022-03-26 rofl0rpsp: add all required inc and lib dirs for a fully...
2022-03-22 rofl0rpsp-gcc: add psp-sdk to lib path
2022-03-17 rofl0rpsp: add a patch for GCC 4.7.4
2022-03-17 rofl0rpsp: add crucial piece of info to post-build message
2022-03-17 rofl0radd psp gcc 11.2.0 patch
2022-03-17 rofl0rupdate README and rename project to newlib-cross.
2022-03-17 rofl0rpsp: strip all binaries in post-build step, rename...
2022-03-17 rofl0radd gcc 9.3.0 patch for psp
2022-03-17 rofl0rbuild.sh: add support for GCC versions > 5.4.0
2022-03-17 rofl0radd psp gcc 4.9.3 patch
...
heads
6 months ago master