[ELDK] Cannot compile using stdlibs with 5.8

Marek Vasut marek.vasut at gmail.com
Tue Feb 16 14:49:02 CET 2016


On 02/13/2016 02:54 PM, Thomas Lange wrote:
> Hi Anatolij,
> 
> On 2016-02-12 18:04, Anatolij Gustschin wrote:
>> you need to set the cross toolchain environment first and specify sysroot
>> and ABI options, i.e.:
>>
>>   $ .
>> /opt/eldk-5.8/armv7a-hf/environment-setup-armv7ahf-vfp-neon-linux-gnueabi
> 
> eldk-switch.sh should take care of that.
> 
>>   $ arm-linux-gnueabi-gcc
>> --sysroot=/opt/eldk-5.8/armv7a-hf/sysroots/armv7ahf-vfp-neon-linux-gnueabi
>> \
>>     -mfloat-abi=hard -o x x.c
>>
>> should work.
> 
> Yes it does. Thanks!
> 
> I got confused since behavior has changed from older ELDK versions:

That's in fact a change in Yocto, which ELDK is based on.



More information about the eldk mailing list