coreboot-kgpe-d16/util/crossgcc
Patrick Georgi 8f2cdad882 crossgcc: Prefer gnatgcc over gcc if available
For distros that package and version gnat independently from gcc (such
as Ubuntu), try to build with gnatgcc first.
This fixes the issue of gcc -print-prog-name=gnat1 failing because gcc
is of a different version.

Change-Id: Icec6d1fba8855e88ac91d47842dcb7f6b9d35461
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/20517
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2017-07-11 06:08:16 +00:00
..
patches util/crossgcc: Fix building gcc 6.3.0 with clang 2017-06-27 05:27:56 +00:00
sum crossgcc: Update to clang 4.0 2017-06-21 18:17:54 +00:00
Dockerfile crossgcc/Dockerfile: Add gnat to build the Ada toolchain 2017-03-23 18:55:18 +01:00
Makefile crossgcc: Switch POWER8 to big endian mode 2016-03-24 18:32:23 +01:00
Makefile.inc util/crossgcc: update jenkins-build-toolchain 2017-01-04 22:18:55 +01:00
README
buildgcc crossgcc: Prefer gnatgcc over gcc if available 2017-07-11 06:08:16 +00:00
getopt.c

README

README
------

This is a cross toolchain builder for -elf toolchains (ie. no libc support)

known working:
  i386-elf
  x86_64-elf
  powerpc-elf
  mipsel-elf
  arm-elf
  armv7a-eabi
  aarch64-elf

known broken:
  alpha-elf
  powerpc64-elf