Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] libstdc++ / uclibc++ confusion
Date: Tue, 06 Nov 2007 21:48:28
Message-Id: 1194385609.10430.10.camel@hangover.linbsd.net
In Reply to: [gentoo-embedded] libstdc++ / uclibc++ confusion by Jason
1 On Tue, 2007-11-06 at 16:10 -0500, Jason wrote:
2 > Okay, I'll admit it. I don't like C++. As a result, I don't use it and
3 > am not familiar with it. I don't want to start a flame, I'm just trying
4 > to explain why I'm so d*mn confused. :-)
5 >
6 > I'm trying to add kismet (written in the aforementioned language) to my
7 > armeb-softfloat-linux-uclibc system.
8
9
10 > I added uclibc++, thinking I
11 > needed it.
12
13 Unnecessary and often a pain in the rear to attempt to use uclibc++
14 It requires some serious hacking to make it your default libstdc++
15 provider.
16
17 > I then xmerge'd kismet, and tried to run it on the target:
18 >
19 > [root@localhost] # kismet
20 > Server options: none
21 > Client options: none
22 > Starting server...
23 > /usr/bin/kismet_server: can't load library 'libstdc++.so.6'
24 >
25 > This is where things went to hell. I presumed, wrongly, that the kismet
26 > build was pulling from my host environment (in hind-sight, this would
27 > have failed with a wrong format or some such). It was actually pulling
28 > it from /usr/lib/gcc/armeb-softfloat-linux-uclibc_gw2348/3.4.6/ and the
29 > libstdc++.so* is the proper file format (which makes sense).
30 >
31 > Long story short, can I eliminate uclibc++ and just copy
32 > /usr/lib/gcc/armeb-softfloat-linux-uclibc_gw2348/3.4.6/libstdc++.* into
33 > ${SYSROOT}/lib/ ?
34
35 Not sure about the SYSROOT. But at runtime kismet is going to need it.
36 So probably in your $ROOT whatever that may be.
37
38 > If so, why isn't it in SYSROOT? What concept am I
39 > missing here?
40
41
42
43 > thx,
44 >
45 > Jason.
46 --
47 Ned Ludd <solar@g.o>
48 Gentoo Linux
49
50 --
51 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] libstdc++ / uclibc++ confusion Jason <gentoo@××××××××××.net>
Re: [gentoo-embedded] libstdc++ / uclibc++ confusion Natanael Copa <natanael.copa@×××××.com>