[uClibc] gcc-3.3.2 building problem

Peter S. Mazinger ps.m at gmx.net
Sun Jan 25 07:07:35 UTC 2004


On Sat, 24 Jan 2004, Manuel Novoa III wrote:

> I had not tried building gcc in a native uClibc environment.  I didn't
> really plan to do so for at least another month or two.  By that time,
> I should have all of my slated abi-affecting changes in place.
> 
> In any case, I did a native build in a rootfs this morning and found
> that a small modification to libstdc++-v3/configure.target was needed.
> I've checked in an updated patch.
> 
> Note that I also replaced all occurrences of config.guess with the
> following script:

Replace the "procedure" below with the attached patch for all config.guess 
(inspired from dietlibc). It won't cover the different flavours of uclibc 
(thread/locale etc), but works for gcc.

Maybe to test usability, you could modify buildroot, so that the modified 
config.sub and config.guess are always overwriting those from orig. 
sources.

> 
>   #!/bin/sh
>   echo `uname -m`-unknown-linux-uclibc
> 
> Yes, I know it's lame.  :-)
> 
> Manuel

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

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
-------------- next part --------------
--- share/libtool/config.guess	Wed Jan 21 17:35:57 2004
+++ lib/rpm/uclibc/config.guess	Sun Jan 25 07:49:47 2004
@@ -967,6 +967,9 @@
 	#ifdef __dietlibc__
 	LIBC=dietlibc
 	#endif
+	#ifdef __UCLIBC__
+	LIBC=uclibc
+	#endif
 EOF
 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
 	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0


More information about the uClibc mailing list