public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: "gentoo-embedded@lists.gentoo.org" <gentoo-embedded@lists.gentoo.org>
Subject: [gentoo-embedded] crossdev and binutils libs libbfd and libiberity
Date: Fri, 4 Sep 2015 12:50:58 +0000	[thread overview]
Message-ID: <1441371057.3260.23.camel@transmode.se> (raw)

Cross building perf needs binutils libs libbfd and libiberity but cross ld cannot find them:
# powerpc-g2.19-linux-gnu-ld -lbfd
powerpc-g2.19-linux-gnu-ld: cannot find -lbfd

This is because libbfd and libiberity are installed in non standard locations:
# pwd
/usr/powerpc-g2.19-linux-gnu
# find -name libbfd.so
./usr/lib/binutils/powerpc-g2.19-linux-gnu/2.24/libbfd.so
./usr/powerpc-g2.19-linux-gnu/lib/libbfd.so

How to resolve this(other than manually creating sym links)?

Jocke

             reply	other threads:[~2015-09-04 12:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04 12:50 Joakim Tjernlund [this message]
2016-01-15 20:02 ` [gentoo-embedded] crossdev and binutils libs libbfd and libiberity Mike Frysinger

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=1441371057.3260.23.camel@transmode.se \
    --to=joakim.tjernlund@transmode.se \
    --cc=gentoo-embedded@lists.gentoo.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