Free Software GNUPro Toolchain code shipped with AGB SDK (GCC)
Go to file
mid-kid 92c16b45be Fix: Avoid GCC14 errors
GCC 14 has added a bunch of errors that affect a tonne of parts of this
codebase. Fixing all of them is a lot of work for too little gain.

Additionally, I've noticed that various projects in this codebase use
either K&R function syntax, or empty parameter lists (or both). As both
of these are deprecated starting with C23, I'm making sure the codebase
is built using C17.

Tested with Gentoo amd64:
CFLAGS="-m32 -O2" ./configure --host=i686-linux-gnu --target=thumb-elf
CFLAGS="-m32 -O2" ./configure --host=i686-linux-gnu --target=arm-elf
2025-04-13 11:40:26 +02:00
bfd Fix: Linux build with -D_FORTIFY_SOURCE=2 2025-04-13 11:40:26 +02:00
binutils Fix: correct executable flags 2023-05-31 13:33:53 +02:00
bison Fix: correct executable flags 2023-05-31 13:33:53 +02:00
bsp Fix: correct executable flags 2023-05-31 13:33:53 +02:00
byacc Fix: correct executable flags 2023-05-31 13:33:53 +02:00
config import src_patch021206.zip 2022-04-16 15:33:08 +02:00
dejagnu Fix: correct executable flags 2023-05-31 13:33:53 +02:00
diff Fix: correct executable flags 2023-05-31 13:33:53 +02:00
dosrel Fix: correct executable flags 2023-05-31 13:33:53 +02:00
etc Fix: correct executable flags 2023-05-31 13:33:53 +02:00
examples import src_patch021206.zip 2022-04-16 15:33:08 +02:00
expect Fix: correct executable flags 2023-05-31 13:33:53 +02:00
flex Fix: correct executable flags 2023-05-31 13:33:53 +02:00
gas Fix: correct executable flags 2023-05-31 13:33:53 +02:00
gcc Fix: Minimal build working on Linux 2025-04-13 11:40:26 +02:00
gdb Fix: correct executable flags 2023-05-31 13:33:53 +02:00
gperf Fix: correct executable flags 2023-05-31 13:33:53 +02:00
gprof Fix: correct executable flags 2023-05-31 13:33:53 +02:00
include Fix: Minimal build working on Linux 2025-04-13 11:40:26 +02:00
intl Fix: correct executable flags 2023-05-31 13:33:53 +02:00
itcl Fix: correct executable flags 2023-05-31 13:33:53 +02:00
ld Fix: correct executable flags 2023-05-31 13:33:53 +02:00
libgloss Fix: correct executable flags 2023-05-31 13:33:53 +02:00
libgui Fix: correct executable flags 2023-05-31 13:33:53 +02:00
libiberty Fix: correct executable flags 2023-05-31 13:33:53 +02:00
libio Fix: correct executable flags 2023-05-31 13:33:53 +02:00
libstdc++ Fix: correct executable flags 2023-05-31 13:33:53 +02:00
libtermcap Fix: correct executable flags 2023-05-31 13:33:53 +02:00
make Fix: correct executable flags 2023-05-31 13:33:53 +02:00
mmalloc Fix: correct executable flags 2023-05-31 13:33:53 +02:00
newlib Fix: correct executable flags 2023-05-31 13:33:53 +02:00
opcodes Fix: correct executable flags 2023-05-31 13:33:53 +02:00
patch Fix: correct executable flags 2023-05-31 13:33:53 +02:00
readline Fix: correct executable flags 2023-05-31 13:33:53 +02:00
send-pr Fix: correct executable flags 2023-05-31 13:33:53 +02:00
sim Fix: correct executable flags 2023-05-31 13:33:53 +02:00
tcl Fix: correct executable flags 2023-05-31 13:33:53 +02:00
texinfo Fix: correct executable flags 2023-05-31 13:33:53 +02:00
tix Fix: correct executable flags 2023-05-31 13:33:53 +02:00
tk Fix: correct executable flags 2023-05-31 13:33:53 +02:00
utils Fix: correct executable flags 2023-05-31 13:33:53 +02:00
winsup Fix: correct executable flags 2023-05-31 13:33:53 +02:00
xiberty import src_patch021206.zip 2022-04-16 15:33:08 +02:00
.cvsignore import src_patch021206.zip 2022-04-16 15:33:08 +02:00
ChangeLog import src_patch021206.zip 2022-04-16 15:33:08 +02:00
config-ml.in import src_patch021206.zip 2022-04-16 15:33:08 +02:00
config.guess Fix: correct executable flags 2023-05-31 13:33:53 +02:00
config.if Fix: correct executable flags 2023-05-31 13:33:53 +02:00
config.sub Fix: correct executable flags 2023-05-31 13:33:53 +02:00
configure Fix: Avoid GCC14 errors 2025-04-13 11:40:26 +02:00
configure.in Extra: Add --enable-minimal option, make it default 2025-04-13 11:40:26 +02:00
COPYING import src_patch021206.zip 2022-04-16 15:33:08 +02:00
COPYING.LIB import src_patch021206.zip 2022-04-16 15:33:08 +02:00
COPYING.NEWLIB import src_patch021206.zip 2022-04-16 15:33:08 +02:00
CYGNUS import src_patch021206.zip 2022-04-16 15:33:08 +02:00
install-sh Fix: correct executable flags 2023-05-31 13:33:53 +02:00
ltconfig Fix: correct executable flags 2023-05-31 13:33:53 +02:00
ltmain.sh import src_patch021206.zip 2022-04-16 15:33:08 +02:00
Makefile.in Fix: Makefile dependencies for parallel build 2025-04-13 11:40:26 +02:00
missing Fix: correct executable flags 2023-05-31 13:33:53 +02:00
mkinstalldirs Fix: correct executable flags 2023-05-31 13:33:53 +02:00
move-if-change Fix: correct executable flags 2023-05-31 13:33:53 +02:00
mpw-build.in import src_patch021206.zip 2022-04-16 15:33:08 +02:00
mpw-config.in import src_patch021206.zip 2022-04-16 15:33:08 +02:00
mpw-configure import src_patch021206.zip 2022-04-16 15:33:08 +02:00
mpw-install import src_patch021206.zip 2022-04-16 15:33:08 +02:00
mpw-README import src_patch021206.zip 2022-04-16 15:33:08 +02:00
README import src_patch021206.zip 2022-04-16 15:33:08 +02:00
release-info import src_patch021206.zip 2022-04-16 15:33:08 +02:00
symlink-tree Fix: correct executable flags 2023-05-31 13:33:53 +02:00
ylwrap Fix: correct executable flags 2023-05-31 13:33:53 +02:00

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.