On that subject - support for GCC installs has changed (for the better).
In the latest revision, you should configure your GCC package as follows (at the top of 'makedefs' in the agtools root directory):
Vincent's MiNT GCC v4.6.4 (this is the AGT default-configured toochain):
IMPORTANT: This is a system-wide install to /opt/cross-mint/ which must have the gcc bin/ directory on $PATH
Code: Select all
# 'default'(or 'vincentcc')/'browncc'/'mikrocc'
USE_COMPILER=default
# set GCC version here
GCC_VERSION=4.6.4
# set=yes if GCC install is portable/install-anywhere (=no for default/vincentcc)
GCC_PORTABLE_PACKAGE=no
Mikro's GCC builds. These are fully-localised/install-anywhere builds. They are configured differently. They do not need to be installed on the $PATH.
Code: Select all
# 'default'(or 'vincentcc')/'browncc'/'mikrocc'
USE_COMPILER=mikrocc
# set GCC version here
# [4.6.4], [7.5.0]
GCC_VERSION=7.5.0
# set=yes if GCC install is portable/install-anywhere (=no for default/vincentcc)
GCC_PORTABLE_PACKAGE=yes
# set GCC install path for portable/install-anywhere case (browncc/mikrocc)
GCC_INSTALL=~/gnu-tools/m68000
#GCC_INSTALL=~/gnu-tools-464/m68000
ggn's ELF compiler distros, also install-anywhere (supports up to GCC version 12.1.0 !!!)
IMPORTANT: This version produces ELF binaries which we convert to TOS using a special tool (shipped with AGT and also in the compiler package). The conversion step is automatic in AGT.
Code: Select all
# 'default'(or 'vincentcc')/'browncc'/'mikrocc'
USE_COMPILER=browncc
# set GCC version here
# [4.6.4], [6.2.0], [7.1.0], [10.2.0], [12.1.0]
GCC_VERSION=12.1.0
# set=yes if GCC install is portable/install-anywhere (=no for default/vincentcc)
GCC_PORTABLE_PACKAGE=yes
# set GCC install path for portable/install-anywhere case (browncc/mikrocc)
GCC_INSTALL=$(AGTROOT)/gcc/browncc-12.1
ggn's latest GCC 12.1 (for Windows) can be found INSIDE the zip at this link:
https://d-bug.me/various/toolchains.7z
Just extract the [browncc-x.y] directory somewhere and point GCC_INSTALL at it.
I might get to do a bit more at the weekend, with the missing tutorials etc.