Anyone experienced with TCC using uClibc?

Christian MICHON christian.michon at gmail.com
Fri Mar 13 16:32:10 UTC 2009


On Thu, Mar 12, 2009 at 3:44 AM, Stefan de Konink <stefan at konink.de> wrote:
> Hi,
>
>
> I wonder if anyone using uclibc succesfully linked an application using TCC.
> My binaries end up as:
>
> ldd ./tcc
> checking sub-depends for '/lib/libm.so.0'
>        libc.so.0 => /lib/libc.so.0 (0xb7f92000)
>        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7fe3000)
> checking sub-depends for '/lib/libc.so.0'
>        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7f8a000)
> checking sub-depends for '/lib/libdl.so.0'
>        libc.so.0 => /lib/libc.so.0 (0xb7f46000)
>        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7f97000)
>        libm.so.0 => /lib/libm.so.0 (0x00000000)
>        libc.so.0 => /lib/libc.so.0 (0x00000000)
>        libdl.so.0 => /lib/libdl.so.0 (0x00000000)
>        /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)
>
>
> Tips are welcome ;)
>
>
> Stefan
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>

I did, I still do. Get a recent iso of detaolb (I've not updated the
project in a year) and there's a pre-compiled tcc that links with
uclibc.

I recall using Rob Landley's fork (and tweaked the linking part to
link to /lib/ld-uClibc.so.0). A pity he stopped developing it, because
with uclibc/busybox/tcc/linux, we would just need to add make to
busybox to be FSF free. (of course we would need uclibc itself to
build using tcc)

-- 
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !


More information about the uClibc mailing list