Short: GNU C and C++ compiler with binutils Author: Stefan "Bebbo" Franke and the GNU Project Uploader: cameronscottarmstrong gmail com (Cameron Armstrong (Nightfox)) Type: dev/gcc Version: 6.5.0b-20261202 Requires: 68020+, 32 MB Fast RAM Architecture: m68k-amigaos >= 2.0.4 Distribution: Aminet Kurz: GNU C- und C++-Compiler mit binutils GCC 6.5.0b for AmigaOS - native m68k toolchain ============================================== The GNU C and C++ compiler with binutils, running on the Amiga itself. It is Stefan "Bebbo" Franke's amiga-gcc (gcc 6.5.0b with many m68k and AmigaOS improvements), built to run on AmigaOS instead of cross compiling from another computer. Package date: 20261202 Requirements ------------ - AmigaOS 2.04 or newer (3.x recommended) - 68020 or better (the compiler itself was built with -m68020-60); no FPU needed - memory: 32 MB, and 64 MB or more for C++ or -O2 on large sources. The compiler (cc1, cc1plus) loads as one block of about 15 MB, so the free memory must be in one piece: Zorro II RAM (8 MB at most) or a 68EC020 (16 MB address space) is not enough. An accelerator with Fast RAM, a PiStorm/Emu68, a Vampire or an emulator is the comfortable choice. - disk: 15 MB in C: and 117 MB for the GCC drawer Installation ------------ Double-click "Install". The Installer asks where the GCC drawer should go (any partition, for example Work:) and then: - copies the commands to C: gcc g++ c++ cpp gcov as ld ar nm ranlib strip objcopy objdump size strings addr2line c++filt readelf - creates /GCC with the compiler internals, include files and link libraries - assigns GCC: to that drawer, now and on every boot (a block in S:User-Startup) Run "Install" again and choose "Remove GCC" to uninstall. Using it -------- gcc -O2 -o hello hello.c g++ -O2 -o hello hello.cpp Runtime libraries (choose one, as the last option, once): (nothing) newlib, Kickstart 2.0+ -noixemul libnix, Kickstart 2.0+ (same as -mcrt=nix20) -mcrt=nix13 libnix, Kickstart 1.3 The NDK 3.2 headers are found automatically; the Kickstart 1.3 headers are used with -mcrt=nix13. Temporary files go to T: (normally RAM:T). Big compiles can use a few MB there. How it finds its files ---------------------- The compiler does not care where its commands are. It looks up everything else through the GCC: assign: GCC:libexec/gcc/m68k-amigaos/6.5.0b/ cc1, cc1plus, collect2 GCC:lib/gcc/m68k-amigaos/6.5.0b/ libgcc, libstdc++, gcc headers GCC:m68k-amigaos/ NDK, libnix, link libraries GCC:m68k-amigaos/bin/ the as and ld that gcc runs If GCC: is missing, gcc cannot find cc1 or the include files. Every program in the package switches itself to a 2 MB stack, so there is no need to raise the Shell stack. Notes ----- - libstdc++'s ext/pb_ds extension (GNU policy-based data structures) is not included: its file names are too long for OFS/FFS partitions. A handful of other C++ library headers still have names longer than 30 characters; on OFS/FFS the Installer cannot copy those few files. FFS2 (OS 3.2), PFS3 and SFS are fine. - Objective-C, LTO and plugins are not included, to keep it small. Source and licence ------------------ gcc and binutils are under the GNU GPL; see https://codeberg.org/bebbo for Bebbo's sources. This package was built with "make native-package" in amiga-gcc (see native.mk there).