On man, 2005-12-19 at 13:28 +0100, Peter S. Mazinger wrote:
> On Fri, 16 Dec 2005, Natanael Copa wrote:
> 
> > On tor, 2005-12-15 at 12:19 -0500, René Rhéaume wrote:
> > > 2005/12/15, Natanael Copa <[EMAIL PROTECTED]>:
> > > > I'm trying to avoid the gcc runtime dependency.
> > > What do you mean ? libgcc or libstdc++ ?
> > 
> > libstc++-v3 has like 23MB sources. It takes a while to compile.
> > (Besides, it failed to compile.)
> > 
> > 
> > # emerge -s libgcc
> > Searching...
> > [ Results for search key : libgcc ]
> > [ Applications found : 0 ]
> > 
> > libgcc? where can i find it?
> > 
> > I would be much better if I could get it work with uclibc++. Its much
> > smaller.
> > 
> > I managed to get nmap to compile agains uclibc with
> > 
> > CXX=g++-uc emerge nmap
> > 
> > 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) 
> against uclibc++ (though not all uclibc++ related patches are in kde 
> upstream probably - these patches are general c++ failures mostly in kde, 
> not uclibc++ specific one, only libstdc++ tolerates some that are not 
> allowed by specs).
> 
> I haven't done it your way though.
> I have installed libuClibc++.so into the same dir where libstdc++.so sits, 
> I have created an include/uclibcxx for headers at same location as 
> include/g++-v3, I have created a new profile in /etc/env.d/gcc that uses 
> the same config as the gcc used to build libuClibc++. I have created a new 
> dir /usr/arch-*-uclibc/gcc-bin/<gcc-ver>-uclibcxx/ where every app is 
> symlinked to /usr/arch-*-uclibc/gcc-bin/<gcc-ver>/, 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 
> arch-*-linux-uclibc-<gcc-ver>-uclibcxx and replaced 
> PATH/ROOTPATH/STDCXX_INCDIR w/ new locations (STDCXX_INCDIR is useless, 
> don't rely on that, because it is not used -correctly-, you have to use 
> the correct path in the wrapper)
> Now I can switch w/ gcc-config to the profile using uclibc++ as with any 
> other gcc one.
> Currently it is heavily dependant on the gcc version used to build 
> uClibc++, don't try to use it w/ other gcc.
> 
> Peter
> 
> -- 
> Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
> Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2
> 

-- 
[email protected] mailing list

Reply via email to