Skip to contentSkip to conversation

cc-option (invalid option abi=apcs-gnu)

U-Boot-Users giulio fedel 2 participants 2 messages Sep 10, 2006

lore
Share & tools
lore
#0 lore raw

Hi,
in my system (suse 10.0, u-boot 1.1.4) I changed the config.mk in the top directory to have the at91rm9200dk compiling. The problem is that cc-option is called in the CPPFLAGS definitions before CROSS_COMPILE being defined later in the Makefile, so the option validity check is performed against gcc and not arm-linux-gcc or whatever. I don't know if it's a Make behavior that differs for other versions (mine is 3.80). Moving the cc-option def to the end of the config.mk does the work form me (also setting CROSS_COMPILE as environment variable before doing make at91rm9200dk_config). I think that the people reporting "invalid option `abi=apcs-gnu'" error in the list have the same problem (and the same solution :-) )

Giulio

---------------------------------
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3 -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060910/bbf7b50c/attachment.htm

#1 lore raw

Dear Giulio,

Quoted 2 lines · in message <[email protected]> you wrote:

in my system (suse 10.0, u-boot 1.1.4) I changed the config.mk in the top directory to have the at91rm9200dk compiling. The problem is that cc-option is called in the CPPFLAGS definitions before CROSS_COMPILE being defined later in the Makefile, so th

Your lines are too long. Please stick to the netiquette, and use a maximum of 70 characters per line or so.

Quoted 1 line

I think that the people reporting "invalid option `abi=apcs-gnu'" error in the list have the same problem (and the same solution :-) )

Indeed they may suffer from the same problem as you - that is, they use old code. This problem was fixed long ago.

Quoted 2 lines

--0-990509185-1157877904=:97885
Content-Type: text/html; charset=iso-8859-1

And NEVER post HTML on this list, please.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Question: How does one get fresh air into a Russian church?
Answer:   One clicks on an icon, and a window opens!