From a09a25b4a2b06a996ddd887b041647dfcffe9abc Mon Sep 17 00:00:00 2001 From: Dan MacDonald Date: Tue, 26 Dec 2023 23:30:05 +0000 Subject: [PATCH 1/5] Improve README --- README.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4b457bc..c7ac0e1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # amiga-gcc [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YRRBRLCKDU3H6) -The GNU C-Compiler with Binutils and other useful tools for cross development -This is a Makefile based approach to build the same files as in the old amigaos-toolchain to reduce the build time. +The GNU C Compiler with binutils and other useful tools for cross development of AmigaOS software. + +This is a Makefile based approach to building the amigaos-toolchain, aiming to reduce its build time. + +Currently, these tools are built: -Right now these tools are build: * binutils * gcc with libs for C/C++/ObjC * fd2sfd @@ -14,6 +16,7 @@ Right now these tools are build: * vlink * libnix * ixemul (not really, but the headers are used) + # COPYRIGHTS * amiga-netinclude: 'Roadshow' -- Amiga TCP/IP stack, Copyright © 2001-2016 by Olaf Barthel. Freely Distributable. * aros-stuff: libpthread, Copyright (C) 2014 Szilard Biro. @@ -33,12 +36,15 @@ Right now these tools are build: * vbcc: copyright in 1995-2022 by Volker Barthelmann, free for non-commercial purposes. * vlink: copyright 1995-2022 by Frank Wille, free for non-commercial purposes. -There are also libraries - calles SDK - which can be downloaded and installed plus libraries that are built from source. All of these provide their own copyrights - too long to list here. +There are also libraries (SDKs) which can be downloaded and installed. These libraries can all be built from source. All of these libraries are provided under their respective licenses. -To get it work together and enhance it, some patches are applied here and there and the gcc compiler contains a tad more hacks/enhancements. -None if these changese modifies the original copyright in any way. All other stuff here is published using the GNU GENERAL PUBLIC LICENSE V2. +Various AmigaOS-specific patches have been applied to this version of gcc. +None if these changes modify the original copyright in any way. All other changes are published using the GNU GENERAL PUBLIC LICENSE V2. + +# Notes + +amiga-gcc supports building binaries optimised for all of the various Motorola 68K series CPUs from the 68000 up to the 68060 and also features some optimisations for the Vampire/Apollo 68080. -# Short Guide ## Prerequisites ### Centos `sudo yum install wget gcc gcc-c++ python git perl-Pod-Simple gperf patch autoconf automake make makedepend bison flex ncurses-devel gmp-devel mpfr-devel libmpc-devel gettext-devel texinfo rsync readline-devel` From ba1990f835a0f44e8c552703d7cc5e29fcb3e4d7 Mon Sep 17 00:00:00 2001 From: Dan MacDonald Date: Wed, 27 Dec 2023 00:03:59 +0000 Subject: [PATCH 2/5] Improve definition of amiga-gcc --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c7ac0e1..c9c4cb1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # amiga-gcc [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YRRBRLCKDU3H6) -The GNU C Compiler with binutils and other useful tools for cross development of AmigaOS software. +The GNU C Compiler with binutils and other useful tools for cross compiling software for the Commodore Amiga. This is a Makefile based approach to building the amigaos-toolchain, aiming to reduce its build time. From e2d233f395a63091ee98cdf67e79869c8cf3f611 Mon Sep 17 00:00:00 2001 From: Dan MacDonald Date: Wed, 27 Dec 2023 01:19:25 +0000 Subject: [PATCH 3/5] Tidy up README --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c9c4cb1..5d88d8a 100644 --- a/README.md +++ b/README.md @@ -38,12 +38,7 @@ Currently, these tools are built: There are also libraries (SDKs) which can be downloaded and installed. These libraries can all be built from source. All of these libraries are provided under their respective licenses. -Various AmigaOS-specific patches have been applied to this version of gcc. -None if these changes modify the original copyright in any way. All other changes are published using the GNU GENERAL PUBLIC LICENSE V2. - -# Notes - -amiga-gcc supports building binaries optimised for all of the various Motorola 68K series CPUs from the 68000 up to the 68060 and also features some optimisations for the Vampire/Apollo 68080. +Various AmigaOS-specific patches have been applied to this version of gcc. None if these changes modify the original copyright in any way. All other changes are published under the terms of the GNU GENERAL PUBLIC LICENSE V2. ## Prerequisites ### Centos @@ -87,6 +82,7 @@ CC=gcc-12 CXX=g++-12 gmake all SHELL=$(brew --prefix)/bin/bash ``` export PATH=$(brew --prefix bison)/bin:$PATH ``` +* This version of gcc supports building binaries optimised for the various Motorola 68K series CPUs from the 68000 to the 68060 and also features some optimisations for the Vampire/Apollo 68080. ### macOS on M1 Native builds on M1 Macs are now directly supported. From 8d8b9919845fca45c1383ac2625f168da59eb639 Mon Sep 17 00:00:00 2001 From: Dan MacDonald Date: Wed, 27 Dec 2023 01:49:23 +0000 Subject: [PATCH 4/5] Improve Building section of README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5d88d8a..d39cd2b 100644 --- a/README.md +++ b/README.md @@ -154,14 +154,14 @@ sudo usermod -a -G users username After adding the user to the group, you may have to logout and login again to apply the changes to your user. ## Building -Simply run `make all`. Also add -j to speedup the build. +In most cases you can simply run `make all` as root. You can use `-j` to speed up the build, adjusting the value of `-j` to the number of cores you wish to use for the build process. ``` make clean make drop-prefix -time make all -j3 +time make all -j4 ``` -takes roughly 10 minutes on my laptop running ubuntu. takes forever running cygwin on windows^^. +The above commands take roughly 10 minutes on my laptop running Ubuntu yet the same commands take forever running cygwin on Windows. ## Kickstart 1.3 From 9a3c267e60201ea4bf3fa14728caa3b2ebddbfbe Mon Sep 17 00:00:00 2001 From: Dan MacDonald Date: Wed, 27 Dec 2023 01:53:45 +0000 Subject: [PATCH 5/5] Use sudo for example build command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d39cd2b..227b0a5 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ sudo usermod -a -G users username After adding the user to the group, you may have to logout and login again to apply the changes to your user. ## Building -In most cases you can simply run `make all` as root. You can use `-j` to speed up the build, adjusting the value of `-j` to the number of cores you wish to use for the build process. +In most cases you can simply run `sudo make all`. You can use `-j` to speed up the build, adjusting the value of `-j` to the number of cores you wish to use for the build process. ``` make clean