[U-Boot-Users] Compiler version

Marco Cavallini arm.linux at koansoftware.com
Thu Dec 22 14:40:23 CET 2005


> Does arm-linux-gcc 3.1 fit to make u-Boot 1.1.4?
>
> I tried to build it for at91ar9200. While 'make all' arm-linux-gcc
> stoped at "unknown option -mabi=apcs-gnu", within /lib_generic
> subfolder. (This option looks like one for assembler, but not literally
> - 3.1 offers other options...)
>

I discussed that option again yesterday
see thread
"[PATCH]Fix cc-option macro in config.mk"
please apply this patch

> Signed-off-by: Paolo Broggini <pbroggini at softool.ch>
>
>
> CHANGELOG:
>   Fix cc-option macro in config.mk, $(CFLAGS) dropped.
>   Patch by Paolo Broggini, 12 Oct 2005
>
>
> diff --git a/config.mk b/config.mk
> --- a/config.mk
> +++ b/config.mk
> @@ -90,7 +90,7 @@ HOSTSTRIP = strip
>  # Option checker (courtesy linux kernel) to ensure
>  # only supported compiler options are used
>  #
> -cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null
> \
> +cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \
>  > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
>
>  #
>

Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
www.koansoftware.com    |    www.klinux.org







More information about the U-Boot mailing list