From: giulio fedel Date: Sun, 10 Sep 2006 10:45:04 +0200 (CEST) Subject: [U-Boot-Users] cc-option (invalid option abi=apcs-gnu) Message-ID: <20060910084504.99083.qmail@web26206.mail.ukl.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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