Repository navigation
OpenAmigaGCC 16.2.0-open3
OpenAmigaGCC 16.2.0-open3
GCC 16.2 for AmigaOS 3.x (m68k-amigaos). Everything in open2 remains. Open3 makes the fixed toolchain self-identifying and removes the last external soft-float link workaround.
New since open2
| Item | open2 | open3 |
|---|---|---|
| Compiler identity | reported only bebbo's 16.2.0b identity |
--version reports OpenAmigaGCC 16.2.0-open3 |
-m68020, -m68030 or -m68040 without an FPU option |
compiled soft-float code, but needed an external specs file to keep the linker off libm881 |
selects the libm020 soft-float multilib by itself |
Explicit -m68881 or -mhard-float |
selected the FPU multilib | still selects libm020/libm881 |
libamiga.a (NewList, BeginIO, DoMethod, the varargs stubs, SetRexxVar...) |
bebbo's prebuilt copy of Commodore's amiga.lib, in lib/ and lib/libb/ of both tarballs |
OpenNDK's own, built with the compiler, in every multilib folder (docs); no Commodore file in either tarball |
| Reusing a retained source cache | a harmless patch-header rename could make the build reject an otherwise identical applied patch | the build accepts an equivalent historical patch revision by stable patch ID while still rejecting a changed diff |
The OpenNDK base-order correction and overridable varargs wrappers requested for open3 were already present in the pinned upstream source and are verified by the build; they are not duplicated as downstream patches. The blank $VER: result traced to literal scanner markers in OpenBench and OpenTata, not to GCC, and is fixed in those repositories.
Checked with
-
A complete offline build at
-j3undernice -n 19, using only source inputs already retained on the build PC. -
The build's libnix recursion audit and compiler-default checks.
-
tests/repro/prove.sh: every reproducer passes at its tested optimisation and CPU settings, including nested A6 calls, FPCR handling, 64-bit stack arguments, 68040/68060 soft float, calloc recursion and address-zero reads. -
tests/cxx/lean-check.sh: no exception, RTTI, static-constructor, guard or libstdc++ allocation dependency enters the lean object. -
Real links and linker maps:
-mcpu=68040useslibm020/libm.aand nolibm881; adding-m68881useslibm020/libm881/libm.a. -
A second complete offline build (
-j4,nice -n 19) with OpenNDK's libamiga.a: the build's own check finds 11 copies, all OpenNDK's, and each multilib links the one in its own folder. -
An ARexx host built with it, both plain and
-resident(the latter linkslibb/libm020/libamiga.a), passes the GetRexxVar/SetRexxVar checks under OpenRexx 48.6 in a copy of Instance-32.
The shared-stove swap remains a separate gated step.
Files
| File | |
|---|---|
openamigagcc-16.2.0-open3-x86_64-linux.tar.xz |
the toolchain for x86-64 Linux |
openamigagcc-16.2.0-open3-src.tar.xz |
the complete source, patches and build scripts |
SHA256SUMS |
checksums |
The NDK, Roadshow headers and optional developer kits are not included. scripts/package.sh makes both tarballs and stops if either would carry an NDK folder, an amiga.lib or a libamiga.a that is not OpenNDK's. See the install guide.
Known
- The toolchain needs glibc 2.38 or later.
- The shared
libnix4.librarystill does not link; normal static programs do not need it. - Code written for GCC 6.5 may need updates for GCC 16's newer diagnostics.