Using GCC 9.2.0

From dreamcast.wiki
Jump to navigation Jump to search

VERY EXPERIMENTAL

The goal of this is to use a newer GCC(9.2.0) / newlib(2.2.0) version.

Pull latest KOS

Pull the latest version of KOS (e8f838e..ed52af3 at the time of writing)

Overwrite some files in $KOS_BASE/utils/dc-chain by the ones in this zip file.

Compiling the toolchain

 cd /opt/toolchains/dc/kos/utils/dc-chain
 ./download.sh
 ./unpack.sh
 make


This will take a while.

Compiling KOS

 cd /opt/toolchains/dc/kos
 cp doc/environ.sh.sample environ.sh
 chmod u+x environ.sh
 source environ.sh
 make