From: Phil Blundell <pb@pbcl.net>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: gcc-cross-kernel problems
Date: Mon, 27 Jun 2011 11:20:35 +0100 [thread overview]
Message-ID: <1309170035.21613.289.camel@phil-desktop> (raw)
In-Reply-To: <8815E10D-6790-48AD-811D-5BE977A17380@dominion.thruhere.net>
On Mon, 2011-06-27 at 12:07 +0200, Koen Kooi wrote:
> In the first one only cc1 and collect are present. What would be the best way to fix this?
It seems that gcc-package-cross.inc is doing this by steam for the
regular cross compiler. See this code from do_install():
# Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
# found. These need to be relative paths so they work in different locations.
dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
install -d $dest
for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t
done
So I guess you could copy that into gcc-cross-kernel or arrange for the
two recipes to share more stuff. Really, the only difference between
gcc-cross-kernel and regular gcc-cross should be that the former doesn't
install itself as ${TARGET_SYS}-gcc in the sysroot bindir.
p.
next prev parent reply other threads:[~2011-06-27 10:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-25 20:38 gcc-cross-kernel problems Koen Kooi
2011-06-26 2:30 ` Khem Raj
2011-06-26 9:18 ` Khem Raj
2011-06-26 10:16 ` Koen Kooi
2011-06-26 15:05 ` Khem Raj
2011-06-27 9:32 ` Koen Kooi
2011-06-27 9:42 ` Phil Blundell
2011-06-27 10:07 ` Koen Kooi
2011-06-27 10:20 ` Phil Blundell [this message]
2011-06-27 15:35 ` Koen Kooi
2011-06-27 20:15 ` Khem Raj
2011-06-27 20:41 ` Phil Blundell
2011-06-27 21:09 ` Khem Raj
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=1309170035.21613.289.camel@phil-desktop \
--to=pb@pbcl.net \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox