[uClibc] Toolchains thoroughly inadequate

Keith R. John Warno keith.warno at valaran.com
Wed Dec 31 21:38:59 UTC 2003


* Keith R. John Warno <keith.warno at valaran.com> [31/12/2003 1045EST]:
> 1) Build uClibc 0.9.24 from sources.  This was surprisingly painless
> given the similarity to kernel configuration. :)  The entire blob
> (runtime and development stuff) is installed beneath
> /usr/i386-uclibc-linux-gnu/, granted i386-uclibc-linux-gnu may not be a
> valid target spec but I don't particulary care.  Attached is my config.

Oops.  I was politely reminded off list that my config was *not*
attached.  It should be now.  :>

During the course of continuing experimentation today I've run into a
few more headaches, all of them related to configure scripts (which I
should have expected after googling, rtfm'ing, yada yada).  For example,
configure is bound to look around for libs or headers and find stuff
that is glibc-based (in /usr/{lib,include}, /usr/local/{lib,include},
etc) rather than the uClibc-based stuff, thus causing all sorts of
havoc.  Two ways around this:
	1) Use a chroot(). :)  As recommened on the uclibc site.
	2) Hack/patch offending sources.
Both ways are time consuming and problematic.  And even if you use a
chroot() some source hacking is close to inevitable.

-- 
Keith R. John Warno                         [SA, Valaran Corporation]
-------------- next part --------------
TARGET_i386=y
HAVE_ELF=y
TARGET_ARCH="i386"
CONFIG_386=y
ARCH_LITTLE_ENDIAN=y
UCLIBC_HAS_MMU=y
UCLIBC_HAS_FLOATS=y
HAS_FPU=y
DO_C99_MATH=y
WARNINGS="-Wall"
KERNEL_SOURCE="/usr/src/linux-2.4.22"
C_SYMBOL_PREFIX=""
HAVE_DOT_CONFIG=y
DOPIC=y
HAVE_SHARED=y
BUILD_UCLIBC_LDSO=y
LDSO_LDD_SUPPORT=y
UCLIBC_CTOR_DTOR=y
UCLIBC_PROFILING=y
UCLIBC_HAS_THREADS=y
UCLIBC_HAS_LFS=y
MALLOC_930716=y
UCLIBC_DYNAMIC_ATEXIT=y
HAS_SHADOW=y
UNIX98PTY_ONLY=y
ASSUME_DEVPTS=y
UCLIBC_HAS_TM_EXTENSIONS=y
UCLIBC_HAS_TZ_CACHING=y
UCLIBC_HAS_TZ_FILE=y
UCLIBC_HAS_TZ_FILE_READ_MANY=y
UCLIBC_TZ_FILE_PATH="/etc/TZ"
UCLIBC_HAS_CTYPE_TABLES=y
UCLIBC_HAS_CTYPE_SIGNED=y
UCLIBC_HAS_CTYPE_UNSAFE=y
UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=10
UCLIBC_HAS_STDIO_BUFSIZ_4096=y
UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
UCLIBC_HAS_STDIO_GETC_MACRO=y
UCLIBC_HAS_STDIO_PUTC_MACRO=y
UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
UCLIBC_HAS_PRINTF_M_SPEC=y
UCLIBC_HAS_ERRNO_MESSAGES=y
UCLIBC_HAS_SIGNUM_MESSAGES=y
UCLIBC_HAS_GNU_GETOPT=y
UCLIBC_HAS_REGEX=y
UCLIBC_HAS_GLOB=y
SHARED_LIB_LOADER_PREFIX="$(DEVEL_PREFIX)/lib"
RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-uclibc-linux-gnu/"
DEVEL_PREFIX="$(RUNTIME_PREFIX)"


More information about the uClibc mailing list