Files
gcc-reflection/gnattools
Olivier Hainque 6686cfb7dc Introduce x86_64-linux-gnuabi32
Enable a 32-bit "native" toolchain on x86_64-*-linux-gnu and
x86_64-*-mingw32, i.e., one that targets -m32 by default, despite
supporting and potentially running in 64-bit mode, by appending abi32
to the triplet, and/or by setting the default ABI to 32 or m32.
Adjust libada and gnattools build machinery to support this
configuration in both bootstrap and non-bootstrap modes.

Co-Authored-By: Alexandre Oliva <oliva@adacore.com>

for  gcc/ChangeLog

	* config.gcc [x86_64-*-*]: Match *abi32 target, default to m32
	abi.  Accept 32 or m32 for --with-abi.

for  gcc/ada/ChangeLog

	* gcc-interface/Make-lang.in (m32_target): Set.
	(not_m32_target, native_target, native_gnattools1): Set.
	(ADA_TOOLS_FLAGS_TO_PASS, gnattools): Handle x86_64 natives
	defaulting to -m32 as cross for gnattools.
	* gcc-interface/Makefile.in (target_cpu): Set to i686 for
	x86_64 configurations defaulting to -m32.

for  gnattools/ChangeLog

	* configure.ac (default_gnattools_target): Use gnattools-cross
	when not bootstrapping x86_64 configurations defaulting to
	-m32.
	* configure: Rebuild.
2026-01-08 14:17:30 -03:00
..
2026-01-08 14:17:30 -03:00
2026-01-08 14:17:30 -03:00