From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 30 Mar 2008 16:49:16 +0200 Subject: [U-Boot-Users] [patch u-boot git 2/3] better ARM9 compiler options In-Reply-To: <200801181250.50303.david-b@pacbell.net> References: <200801181245.46425.david-b@pacbell.net> <200801181250.50303.david-b@pacbell.net> Message-ID: <20080330144916.GC31189@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12:50 Fri 18 Jan , David Brownell wrote: > Update some ARM9 builds to pass the exact CPU to GCC, when the compiler > supports that specification. This stops pessimizing codegen, and removes > voluminous warnings about (no) interworking support from EABI compilers. > (Like CodeSourcery's ARM 2007q3 release.) > > Signed-off-by: David Brownell > NOK I've the following warning when I'm using it nfs.c:1: warning: switch -mcpu=arm926ej-s conflicts with -march= switch sntp.c:1: warning: switch -mcpu=arm926ej-s conflicts with -march= switch part.c:0: warning: switch -mcpu=arm926ej-s conflicts with -march= switch My toolchains Using built-in specs. Target: arm-elf Configured with: ../configure --prefix=/opt/arm --target=arm-elf --enable-interwork --enable-multilib --enable-languages=c,c++ --with-newlib --with-headers=/opt/arm/src/newlib-1.14.0/newlib/libc/include Thread model: single gcc version 4.1.1 Best Regards, J.