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-install the
linaro cross compiler package
to default to the flavour you require e.g. armv7 or armv5 etc

See https://wiki.linaro.org/Platform/DevPlatform/CrossCompile and others

- search flavour, cross compiler

Peter



On Thu, May 12, 2011 at 3:07 AM, AKS <aungk...@gmail.com> 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 code in thumb. So I assume I need to make my
> Linaro compiler knows that no thumb! Please correct me if I were wrong.
>
> 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!
>
> _______________________________________________
> linaro-dev mailing list
> linaro-dev@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-dev
>

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to