Victor,
Yes, the little endian tool chain support armv4t soft float.
[joelz@git-rtp-01] $ arm-linux-gnueabihf-gcc --print-multi-lib
.;
arm-linux-gnueabi;@marm@march=armv4t@mfloat-abi=soft
But there is not armv4 support on armeb big endian toolchain.
[joelz@ldt-joelz] $ arm-linux-gnueabihf-gcc --print-multi-lib
.;
It looks like the only choice is to build our own toolchain.
Any instruction to build multilib for armv4t?
Thanks!
Joel
From: Victor Chong [mailto:victor.chong@linaro.org]
Sent: Thursday, July 31, 2014 2:12 PM
To: Joel (Xi Zhou) Zhou
Cc: linaro-toolchain@lists.linaro.org
Subject: Re: Linaro toolchain binary allowing soft-float?
Joel,
Although possibly not fully optimized, soft float configuration for armv4t should still run on armv7.
To build your own, I think you'll have to patch the gcc source code to enable multilib (disabled by default) and build the C library twice and figure out a way to combine them. Not exactly sure of the exact
process since it's not something we currently do or support.
Thanks!
On Fri, Aug 1, 2014 at 2:18 AM, Joel (Xi Zhou) Zhou <joel.zhou@broadcom.com> wrote:
Victor,
From the wiki, it mentions that the
soft float (multilib) configuration supported is armv4t.
If we build our own toolchain for soft-float support based on linaro gcc source, is it
just a modification of toolchain configuration? Or it need heavy patch for thing like eglibc?
Thank you for quick response!
Joel
From: Victor Chong [mailto:victor.chong@linaro.org]
Sent: Thursday, July 31, 2014 1:04 PM
To: Joel (Xi Zhou) Zhou
Cc: linaro-toolchain@lists.linaro.org
Subject: Re: Linaro toolchain binary allowing soft-float?
Hi Joel,
Please refer to:
https://wiki.linaro.org/WorkingGroups/ToolChain/FAQ#How_do_I_use_Linaro.27s_arm-linux-gnueabihf-gcc_from_the_latest_binary_toolchain_release_to_build_applications_for_soft_float_systems.2C_i.e._with_-mfloat-abi.3Dsoft.3F
Thanks!
On Fri, Aug 1, 2014 at 1:32 AM, Joel (Xi Zhou) Zhou <joel.zhou@broadcom.com> wrote:
Hi Linaro-toolchain team,
I notice that the Linaro toolchain binary only support hard-float. We have a platform which is ARMv7 based does not support VFP.
Could you generate toolchain binary for ARmv7 that allows soft-float?
Thanks,
Joel
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain