Skip to contentSkip to conversation

Compiler version

U-Boot-Users Zhukov 2 participants 2 messages Dec 22, 2005

lore
Share & tools
lore

Zhukov

author
#0 lore raw

Hello, dear colleages!

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...)

Who defines this option?
Does redefinition make sense?

#1 lore raw
Quoted 7 lines

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

Quoted 20 lines

CHANGELOG:
Fix cc-option macro in config.mk, $(CFLAGS) dropped. Patch by Paolo Broggini, 12 Oct 2005

config.mk +1 -1
@@ -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 ;)
 
Quoted 2 lines

#

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