Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Joel (Xi Zhou) Zhou
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 ___

Re: Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Victor Chong
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

RE: Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Joel (Xi Zhou) Zhou
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

Re: Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Victor Chong
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

RE: Linaro toolchain binary allowing soft-float?

2014-07-31 Thread Joel (Xi Zhou) Zhou
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

eglibc soft-float arguments

2014-07-31 Thread Joel (Xi Zhou) Zhou
Hi guy, In order to have soft-float support in toolchain, I tried to build our toolchain using Linaro ct-ng script. I used linaro-armeb-linux-gnueabihf configuration then change floating point option from hard to soft. There is the error I have: [ERROR]