[yocto] cortexa15 toolchain compilation option

Khem Raj raj.khem at gmail.com
Thu Aug 13 23:20:34 PDT 2015


> On Jun 1, 2015, at 12:02 AM, Neelkumar Patel <neel.patel at einfochips.com> wrote:
> 
> 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.

What is the reason for not using it ? hard float is ABI level decision, if your system is running base OS with hard float turned on you dont have this choice to not use it
if you are using SDK environment then please use $CC variable and its ilk to get it right set of options to compile the application and good thing is that when you turn
this into a bitbake recipe to build the app it will still work.

> 
> 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-bounces at yoctoproject.org <mailto:yocto-bounces at yoctoproject.org> [mailto:yocto-bounces at yoctoproject.org <mailto:yocto-bounces at yoctoproject.org>] On Behalf Of Neelkumar Patel
> Sent: 01 June 2015 12:04
> To: yocto at yoctoproject.org <mailto:yocto at 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 at yoctoproject.org <mailto:yocto at yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto <https://lists.yoctoproject.org/listinfo/yocto>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150813/a7961a1d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150813/a7961a1d/attachment.pgp>


More information about the yocto mailing list