All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: maniacbug <maniacbug@ymail.com>
Cc: yocto@yoctoproject.org
Subject: Re: How to include libstdc++ in an image?
Date: Thu, 28 Jun 2012 11:56:21 +0100	[thread overview]
Message-ID: <4370319.CbK9Nk4c9m@helios> (raw)
In-Reply-To: <1340763740.43451.YahooMailNeo@web121605.mail.ne1.yahoo.com>

On Tuesday 26 June 2012 19:22:20 maniacbug wrote:
> Hi.  I am using denzil, trying to build a core-image-minimal with
> libstdc++ installed.  I want to cross-develop in c++, and run the
> resulting apps on the image.  For now, I am using qemu-arm as the
> machine.  I've been able to build and run core-image-minimal out of the
> box. build the cross tools, and build apps using the cross tools (and
> even add ssh to the image).  What I cannot figure out how to do is get
> libstdc++ (and libgcc1 and libc6) onto the target machine.
> 
> The task-core-standalone-sdk-target looks super promising,
> seeming to contain the exact pieces I need.  I thought I could add this
> to the IMAGE_INSTALL line in core-image-minimal.bb, and have the libs
> show up.  This didn't happen, so clearly I have some more to learn about
> poky.
> 
> Can anyone advise the appropriate way to inject libsdtc++ (and its
> dependencies) into a poky image?  Please note that I do not need to
> compile/link apps on the target, only run them.

Adding libstdc++ to IMAGE_INSTALL should work - in fact I just tried it and it 
worked here (although I used the alternative of adding it to 
CORE_IMAGE_EXTRA_INSTALL in local.conf, but the result should be the same). 

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2012-06-28 10:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27  2:22 How to include libstdc++ in an image? maniacbug
2012-06-28 10:56 ` Paul Eggleton [this message]
2012-06-28 18:50   ` maniacbug
2012-06-30 21:56   ` Koen Kooi
2012-06-30 22:29     ` Paul Eggleton
2012-06-30 22:34       ` Khem Raj
2012-07-02 18:25       ` William Mills
2012-07-01 16:15     ` maniacbug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4370319.CbK9Nk4c9m@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=maniacbug@ymail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.