[yocto] aarch64-oe-linux/bin/ld: cannot find -lgcc . Adding native build support for arm64/aarch64 in oe-rootfs.

Burton, Ross ross.burton at intel.com
Tue Apr 26 01:57:12 PDT 2016


On 26 April 2016 at 09:37, Jaggi, Manish <Manish.Jaggi at caviumnetworks.com>
wrote:

> IMAGE_INSTALL_append = "gcc"
> IMAGE_INSTALL_append += " glibc"
> IMAGE_INSTALL_append += " libgcc"
> IMAGE_INSTALL_append += " binutils"
> IMAGE_INSTALL_append += " gccmakedep"
>

You left out the development headers and libraries required to actually
link.

IMAGE_FEATURES is a more efficient way of doing this.  EXTRA_IMAGE_FEATURES
+= "tools-sdk" will add gcc/cpp/make/etc, and "dev-pkgs" will ensure that
all of the -dev packages are installed on your image, so you can link
against anything you've installed.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160426/8d2bf3f6/attachment.html>


More information about the yocto mailing list