From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EoKAB-00034T-Ig for garchives@archives.gentoo.org; Mon, 19 Dec 2005 12:30:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBJCTtBi001533; Mon, 19 Dec 2005 12:29:55 GMT Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBJCTt4Y011408 for ; Mon, 19 Dec 2005 12:29:55 GMT Received: (qmail invoked by alias); 19 Dec 2005 12:29:44 -0000 Received: from host-6.mikroweb.hu (EHLO mail.bridge.intra) [193.17.175.6] by mail.gmx.net (mp010) with SMTP; 19 Dec 2005 13:29:44 +0100 X-Authenticated: #507653 Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 98264FC59 for ; Mon, 19 Dec 2005 13:28:56 +0100 (CET) Received: from mail.bridge.intra ([127.0.0.1]) by localhost (lnx.bridge.intra [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18454-02 for ; Mon, 19 Dec 2005 13:28:41 +0100 (CET) Received: by mail.bridge.intra (Postfix, from userid 200) id 4754EFC53; Mon, 19 Dec 2005 13:28:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.bridge.intra (Postfix) with ESMTP id DB2FB2B1F1 for ; Mon, 19 Dec 2005 13:28:40 +0100 (CET) Date: Mon, 19 Dec 2005 13:28:40 +0100 (CET) From: "Peter S. Mazinger" To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] dansguardian and uclibc++ In-Reply-To: <1134719564.26868.44.camel@nc> Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 X-Virus-Scanned: by amavisd-new at localhost X-Y-GMX-Trusted: 0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id jBJCTtCU001533 X-Archives-Salt: 89ea98b6-08fc-423f-861c-87fe31f596df X-Archives-Hash: 88602636072e8c6f1c17f973173048b6 On Fri, 16 Dec 2005, Natanael Copa wrote: > On tor, 2005-12-15 at 12:19 -0500, Ren=E9 Rh=E9aume wrote: > > 2005/12/15, Natanael Copa : > > > I'm trying to avoid the gcc runtime dependency. > > What do you mean ? libgcc or libstdc++ ? >=20 > libstc++-v3 has like 23MB sources. It takes a while to compile. > (Besides, it failed to compile.) >=20 >=20 > # emerge -s libgcc > Searching... > [ Results for search key : libgcc ] > [ Applications found : 0 ] >=20 > libgcc? where can i find it? >=20 > I would be much better if I could get it work with uclibc++. Its much > smaller. >=20 > I managed to get nmap to compile agains uclibc with >=20 > CXX=3Dg++-uc emerge nmap >=20 > The romour says its possible to compile kde with uclibc++ so I was > hoping it would be possible to use uclibc++ > -- > Natanael Copa the rumours are right, I have built the whole kde suite (emerge kde)=20 against uclibc++ (though not all uclibc++ related patches are in kde=20 upstream probably - these patches are general c++ failures mostly in kde,= =20 not uclibc++ specific one, only libstdc++ tolerates some that are not=20 allowed by specs). I haven't done it your way though. I have installed libuClibc++.so into the same dir where libstdc++.so sits= ,=20 I have created an include/uclibcxx for headers at same location as=20 include/g++-v3, I have created a new profile in /etc/env.d/gcc that uses=20 the same config as the gcc used to build libuClibc++. I have created a ne= w=20 dir /usr/arch-*-uclibc/gcc-bin/-uclibcxx/ where every app is=20 symlinked to /usr/arch-*-uclibc/gcc-bin//, the only change is arch-*-linux-uclibc-c++, that is the uClibc++ wrapper in /etc/env.d/gcc/ I have copied the config of used build gcc to=20 arch-*-linux-uclibc--uclibcxx and replaced=20 PATH/ROOTPATH/STDCXX_INCDIR w/ new locations (STDCXX_INCDIR is useless,=20 don't rely on that, because it is not used -correctly-, you have to use=20 the correct path in the wrapper) Now I can switch w/ gcc-config to the profile using uclibc++ as with any=20 other gcc one. Currently it is heavily dependant on the gcc version used to build=20 uClibc++, don't try to use it w/ other gcc. Peter --=20 Peter S. Mazinger ID: 0xA5F059F2 Key fingerprint =3D 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 --=20 gentoo-embedded@gentoo.org mailing list