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 1EoTRb-0004V6-Fl for garchives@archives.gentoo.org; Mon, 19 Dec 2005 22:25:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBJMNuWC019242; Mon, 19 Dec 2005 22:23:56 GMT Received: from mail43.e.nsc.no (mail43.e.nsc.no [193.213.115.43]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBJMNtJu001175 for ; Mon, 19 Dec 2005 22:23:55 GMT Received: from mail.nor.wtbts.org ([213.234.126.131]) by mail43.nsc.no (8.13.5/8.13.5) with ESMTP id jBJMNql7028866 for ; Mon, 19 Dec 2005 23:23:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.nor.wtbts.org (Postfix) with ESMTP id 142E83FD1E for ; Mon, 19 Dec 2005 23:23:52 +0100 (CET) Received: from mail.nor.wtbts.org ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05172-02 for ; Mon, 19 Dec 2005 23:23:52 +0100 (CET) Received: from nc (unknown [192.168.65.211]) by mail.nor.wtbts.org (Postfix) with ESMTP id F086C3FA5C for ; Mon, 19 Dec 2005 23:23:51 +0100 (CET) Subject: Re: [gentoo-embedded] dansguardian and uclibc++ From: Natanael Copa To: gentoo-embedded@lists.gentoo.org In-Reply-To: References: Content-Type: text/plain; charset=ISO-8859-1 Date: Mon, 19 Dec 2005 23:23:51 +0100 Message-Id: <1135031031.20249.41.camel@nc> 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 X-Mailer: Evolution 2.4.2.1 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at wtbts.no Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id jBJMNuWw019242 X-Archives-Salt: 06c1deee-fdce-47be-b893-2bbfd2422f5b X-Archives-Hash: 328db3ce9753c849b724b628b8bcd66f On man, 2005-12-19 at 13:28 +0100, Peter S. Mazinger wrote: > On Fri, 16 Dec 2005, Natanael Copa wrote: >=20 > > 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 >=20 > 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 kd= e,=20 > not uclibc++ specific one, only libstdc++ tolerates some that are not=20 > allowed by specs). >=20 > I haven't done it your way though. > I have installed libuClibc++.so into the same dir where libstdc++.so si= ts,=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 use= s=20 > the same config as the gcc used to build libuClibc++. I have created a = new=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 Are you really sure that you mean "arch-*-linux-uclibc-c++" and not "arch-*-linux-uclibc-g++"? Or both? When I like arch-*-linux-uclibc-c++ to g++-uc dansguardan gets compiled but it is still linked against libstdc++.so.6 > 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 an= y=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. >=20 > Peter >=20 > --=20 > Peter S. Mazinger ID: 0xA5F059F2 > Key fingerprint =3D 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 >=20 --=20 gentoo-embedded@gentoo.org mailing list