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)
- To: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Subject: Re: [arm-gnu] Is arm-2009q1-203-arm-none-linux-gnueabi version support for ARM architecture v7(armv7)
- From: nagaraju goruganti <nagaraju.goruganti@xxxxxxxxx>
- Date: Wed, 16 Dec 2009 20:52:54 +0530
Thank you for your reply,
Ok, we do like you mentioned.
but I want to change tool chain, so that by default it will build for
-mcpu=cortex-a8 -march=armv7-a -mtune=cortex-a8. without giving these
options.
On Wed, Dec 16, 2009 at 8:32 PM, Mark Mitchell <mark@xxxxxxxxxxxxxxxx>wrote:
> 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
>
--
Regards
Nagaraju G