[linux-yocto] How to install c libraries on yocto

shubham.kumar4 at wipro.com shubham.kumar4 at wipro.com
Tue Feb 9 20:49:25 PST 2016

> I'm new in te yocto proyect and i i want to know if you can help me with this problem.

> I want to compile a C program in my nitrogen6x but i don know how can add the c standard
> libraries to the image that i'm using, i read about it and find that c libraries for embedded linux
> systems are eglib but i don't now how to install or add to my image.

You can install native sdk package to your image by adding an additional entry to your local.conf file.

 Go to <build_dir>/conf/local.conf, and add the following line :-


If you want "gdb" as well as "strace" debugging tools, add the following line as well :-

EXTRA_IMAGE_FEATURES += "tools-debug"

Then run Bitbake , and the image will be created with the added packages.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20160210/2e1b3790/attachment.html>

More information about the linux-yocto mailing list