Hi,

Sorry option is  -mfloat-abi=hard.

We have to provide below option during compilation.
arm-XXX-gcc  -mfloat-abi=hard hello.c

We do not want to give -mfloat-abi=hard option during compilation.

If we do not provide that option (arm-XXX-gcc  hello.c ) then it gives below 
error.
fatal error: gnu/stubs-soft.h: No such file or directory

Thanks
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Neelkumar Patel
Sent: 01 June 2015 12:04
To: yocto@yoctoproject.org
Subject: [yocto] cortexa15 toolchain compilation option

Hi,

We are building the toolchain for cortexa15 CPU in oe-core and we are able to 
build the toolchain but during the compilation of the application we have to 
provide manually option "--with-float=hard".

e.g.  We have one application called "hello.c". We have to provide below option 
for compilation. If we do not provide --with-float option then we are getting 
compilation error.

arm-XXX-gcc  --with-float=hard  hello.c

Is there any option to remove "-with-float" option during the application 
compilation. Is there any change we have to do in oe-core ??

Thanks in Advance.

*************************************************************************************************************************************************************
 eInfochips Business Disclaimer: This e-mail message and all attachments 
transmitted with it are intended solely for the use of the addressee and may 
contain legally privileged and confidential information. If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution, copying, or other use of this message or its 
attachments is strictly prohibited. If you have received this message in error, 
please notify the sender immediately by replying to this message and please 
delete it from your computer. Any views expressed in this message are those of 
the individual sender unless otherwise stated. Company has taken enough 
precautions to prevent the spread of viruses. However the company accepts no 
liability for any damage caused by any virus transmitted by this email. 
*************************************************************************************************************************************************************
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to