This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CortexM3 GCC 4.3.2


Please try" -march=armv7-a "  option.

--Partha


--- On Tue, 11/18/08, Vivek Kumar Gupta <gkvivek@zilog.com> wrote:

> From: Vivek Kumar Gupta <gkvivek@zilog.com>
> Subject: CortexM3 GCC 4.3.2
> To: crossgcc@sourceware.org
> Date: Tuesday, November 18, 2008, 5:23 AM
> Thanks Yann, for fixing my doubts.
> 
> While building tool chain for CortexM3 with GCC 4.3.2, I am
> getting
> error.
> Kindly see if this can fix by some way.
> 
> I understand that now mcpu is deprecated so I have not used
> in setting.
> 
> When I use Architure level as "armv7m" and Tune
> for CPU as "cortex-m3"
> 
> [ALL  ]    For  real value is 
> [ALL  ]    For cortex-m3 real value is cortexm3
> [ALL  ]    Unknown arch used in --with-arch=armv7m
> [ERROR]    make[1]: *** [configure-gcc] Error 1
> [ALL  ]    make[1]: Leaving directory
> `/newhd/gccCortexM3/ct-ng-trunk-20081115/targets/arm-unknown-linux-uclib
> cgnueabi/build/build-cc-core-static'
> [ERROR]    Build failed in step 'Installing static core
> C compiler'
> 
> 
> When I use Architure level as "armv7-m" and Tune
> for CPU as "cortex-m3"
> 
> [ALL  ]    For cortex-m3 real value is cortexm3
> [ALL  ]    For cortex-m3 real value is cortexm3
> [ALL  ]    Unknown arch used in --with-arch=armv7-m
> [ERROR]    make[1]: *** [configure-gcc] Error 1
> [ALL  ]    make[1]: Leaving directory
> `/newhd/gccCortexM3/ct-ng-trunk-20081115/targets/arm-unknown-linux-uclib
> cgnueabi/build/build-cc-core-static'
> 
> I also tried "armv7m" and "cortexm3"
> still it is giving error.
> I have seen gcc 4.3.2 manual also so according to them
> right way is
> "armv7-m" and cortex-m3"
> 
> What extactly I have to use for Architure level  and Tune
> for CPU ?
> Or I have to change some thing else here.
> 
> 
> Regards
> Vivek
> 
> --
> For unsubscribe information see
> http://sourceware.org/lists.html#faq


      

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]