[Avila] building snapgear with an external libc

Tim Harvey tim_harvey at yahoo.com
Wed Jan 24 16:41:18 EST 2007


has anyone been able to build snapgear with an external libc (ie, your
toolchain's libc)?

I found that the snapgear config allows you to specify a libc of 'none'
(CONFIG_DEFAULTS_LIBC_NONE=y) but it would seem that this means your not going
to build any userland (as userland fails miserably in this case) - which makes
me wonder what the point of snapgear is if your just going to build the kernel
(unless I'm missing something).

To use my toolchains glibc I've set CNFIG_DEFAULTS_LIBC_GLIBC=y and
CONFIG_LIBDIR to a directory that correctly points build/include and build/lib
to my toolchains appropriate directories but that still doesn't seem enough.

I'm really surprised that snapgear makes it so difficult to use your own glibc
- but of course I don't really understand the point in providing a glibc within
snapgear to begin with.  It seems that some/all of the userland is built by
using the ucfront wrapper (tools/ucfront) and perhaps I'm just not
understanding how to use this wrapper effectively or disable it effectively.

Thanks for any info,

Tim





More information about the Avila mailing list