[yocto] How to run c++ programs?

Christian Ege k4230r6 at gmail.com
Wed Apr 23 20:55:52 PDT 2014


Am 24.04.2014 04:46 schrieb "Rich Wilson" <richaw at gmail.com>:
>
> I have my core-image-minimal distribution working.
> Now, I would like to compile and run c++ programs.
> How do get there from here?
>

I think bitbake -c populate_sdk is what you are looking for. This creates
an SDK with the required headers and libs to compile your c++ code against.

> I'm a newbie here, so please be gentle :-)
>
> (I'm hoping I can use the Xilinx SDK for the compiler and
> debugger; I think I just need the libraries)
>
The approach above generates a complete SDK.
> Build Configuration:
> BB_VERSION        = "1.20.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "openSUSE-project-12.3"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "zedboard-zynq7"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.5.1"
> TUNE_FEATURES     = " armv7a vfp neon zynq"
> TARGET_FPU        = "vfp-neon"
> meta
> meta-yocto
> meta-yocto-bsp    = "<unknown>:<unknown>"
> meta-xilinx       = "dora:aa7d677515ab7d45bbd3bdd6c5383f4143147c6d"
>
> --
> Rich Wilson
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140424/644caf4f/attachment.html>


More information about the yocto mailing list