[gobolinux-users] Programs against dietlibc

Lucas C. Villa Real lucasvr at gobolinux.org
Sat May 12 04:41:21 UTC 2007


On 5/11/07, Aitor Pérez Iturri <aitor.iturri at gmail.com> wrote:
> Hi all.
> I'm trying to build some programs with dietlibc as glibc
> implementation. These programs will go in a InitRamFS cpio file.
> Most programs should be patched in order to compile with dietlibc, so
> my question is, should i make some Diet-Recipes, for building
> dietlibc-ed programs?.

Hello Aitor,

I had some similar situations when I was working with uClibc as libc
implementation. In my case, I tried to provide patches that could be
accepted mainstream by the programs modified, and kept the patch in
the recipe until they were officcialy  integrated. I think that's a
good approach to adopt, and if the changes aren't that intrusive you
can probably put them in the standard recipe.

DietLibc probably defines some symbol such as __DIETLIBC__ on which
you can rely, so that your modifications are not used when compiling
against Glibc.

-- 
Lucas
powered by /dev/dsp


More information about the gobolinux-users mailing list