Re: How to remove –with-mode=thumb from linaro

2011-05-17 Thread Dave Martin
On Thu, May 12, 2011 at 11:13 AM, AKS wrote: > Hi Ramana > > I thought I have tried > > ./configure x CFLAGS="-marm" after sending the email below. Note that if you really typed './configure x CFLAGS="-marm"' it won't work. CFLAGS needs to be set in the environment, and environment assig

Re: How to remove –with-mode=thumb from linaro

2011-05-12 Thread AKS
Hi Ramana I thought I have tried ./configure x CFLAGS="-marm" after sending the email below. But I will try again and let you know. Thanks. On 5/12/11, Ramana Radhakrishnan wrote: > On Thursday, 12 May 2011, AKS wrote: > >> >> What flag I have to pass in making? I mean what to type in aft

Re: How to remove –with-mode=thumb from linaro

2011-05-12 Thread Peter Pearse
Oops here's the text:- If you are building complete packages you may find that the package uses the compiler defaults any compiler flags you add may be discarded, depending on the package For the linaro toolchain these are armv7 thumb2 To build complete packages as arm you need to rebuild & re-

Re: How to remove –with-mode=thumb from linaro

2011-05-12 Thread Peter Pearse
On Thu, May 12, 2011 at 3:07 AM, AKS wrote: > Hi > > I am using Linaro gcc on Ubuntu/ARM. I am having a problem in building > a package that does not support thumb nor thumb2. When I typed "gcc -v" > I saw that "–with-mode=thumb" and I assume that means my gcc compiler > will try to optimize some

Re: How to remove –with-mode=thumb from linaro

2011-05-11 Thread Ramana Radhakrishnan
On Thursday, 12 May 2011, AKS wrote: > > What flag I have to pass in making? I mean what to type in after CCFLAGS= > in make or what to be added in Makefile. Thanks! Try using -marm. Ramana > > ___ > linaro-dev mailing list > linaro-dev@lists.linar

How to remove –with-mode=thumb from linaro

2011-05-11 Thread AKS
Hi I am using Linaro gcc on Ubuntu/ARM. I am having a problem in building a package that does not support thumb nor thumb2. When I typed "gcc -v" I saw that "–with-mode=thumb" and I assume that means my gcc compiler will try to optimize some code in thumb. So I assume I need to make my Linaro comp