Gentoo Archives: gentoo-embedded

From: Joakim Tjernlund <joakim.tjernlund@×××××××××.se>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] crossdev builds libiberty.a with host arch
Date: Fri, 11 Nov 2011 15:47:30
Message-Id: OFE56CC2A6.C63AE89A-ONC1257945.0055FFFE-C1257945.0056B444@transmode.se
In Reply to: Re: [gentoo-embedded] crossdev builds libiberty.a with host arch by Mike Frysinger
1 Mike Frysinger <vapier@g.o> wrote on 2011/11/11 15:46:44:
2 >
3 > On Friday 11 November 2011 03:26:22 Joakim Tjernlund wrote:
4 > > I installed binutils
5 > > and now I got a the correct libbfd.so and libiberty.a under
6 > > /usr/powerpc-softfloat-linux-gnu/usr/lib/binutils/powerpc-softfloat-linux-
7 > > gnu/2.16.1/ There is no symlink under
8 > > /usr/powerpc-softfloat-linux-gnu/lib/
9 > > though which forces me to pass -L and -I options too gcc in order to
10 > > build oprofile. Would be nice if the symlinks were created to make the
11 > > x-compile env. mimic the normal host env.
12 >
13 > try running:
14 > ROOT=/usr/powerpc-softfloat-linux-gnu binutils-config 1
15 > -mike
16
17 :) that got me
18 /usr/powerpc-softfloat-linux-gnu/usr/i686-pc-linux-gnu/powerpc-softfloat-linux-gnu/lib/libiberty.a ->
19 /usr/lib/binutils/powerpc-softfloat-linux-gnu/2.16.1/libiberty.a
20
21 but this is a host arch libiberty.a so can't use it for x-compile :(
22
23 No sign of any new libiberty.h header files though.
24 Did I miss something?
25
26 Jocke

Replies

Subject Author
Re: [gentoo-embedded] crossdev builds libiberty.a with host arch Mike Frysinger <vapier@g.o>