Try to have a more homogeneous naming for some compilers and use
groups for different archs (e.g. MIPS/MIPS64).
fixes#3370
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* Add script that checks for bad configs for compilers and groups
* Dont skip iteration on compiler match so groups are also caught
* Fix some of the erros found
* Add newline at EOL
* Fix remaining compiler issues
* Add cross GCC 11.2.0 for several targets + some tweaks
Add cross GCC 11.2.0 for : s390x-linux, mips-linux, mips64-linux, ppc, ppc64 and
ppc64le for C, C++ and Ada.
Toggle supportsBinary for these targets for c/c++.
Small cleanup in Ada configuration for cross:
- credit Alire for riscv/arm
- disable binary/exec in group instead of compilers
refs #3282, #2470
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
objdumper was wrongly set to use native objdump for some targets:
- when binary is enabled, use a correct objdump (usually using one from the
equivalent cross-gcc toolchain)
- when binary is disabled, remove the property
refs #3327
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
ada.amazon.properties: Move objdumper/supportsBinary/supportsExecute from global
properties into the gnat group targeting Intel only.
ada.default.properties: Create a group and move intel specific property there.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add new adarts compiler properties used to set the RTS (if needed) to be used by
GNAT. This is needed as the cross compilers come with several RTS and you must
provide one.
Use Alire (https://alire.ada.dev/) cross compilers for ARM32 and RISC-V 64.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add some comments around the command line options handling of GNAT.
Add strings tool for Ada.
Also enable binary and execution in the default config.
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
GNU as is part of binutils, which is developed, versioned and released independently of gcc.
Let's use gnuas' real version number, and remove the duplicates.