Re: [arm-gnu] Is arm-2009q1-203-arm-none-linux-gnueabi version support for ARM architecture v7(armv7)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] Is arm-2009q1-203-arm-none-linux-gnueabi version support for ARM architecture v7(armv7)



nagaraju goruganti wrote:

> If we build any application ,by using
> arm-2009q1-203-arm-none-linux-gnueabi cross tool chain, it will build
> for Tag_CPU_name: "ARM10TDMI" ,Tag_CPU_arch: v5T, now my question is,
> how can change the build configuration, so that ,by default ,the cross
> tool will  build any application to  Tag_CPU_name: "CORTEX-A9"
> Tag_CPU_arch: v7 ?

Create a wrapper script that invokes the compiler with the options you
want.  Like this, on a Linux host:

#! /bin/sh
arm-none-linux-gnueabi-gcc -march=arvm7-a "$@"

-- 
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713