[gobolinux-users] Programs against dietlibc

Lucas C. Villa Real lucasvr at gobolinux.org
Sat May 12 17:10:06 UTC 2007


On 5/12/07, Aitor Pérez Iturri <aitor.iturri at gmail.com> wrote:
> El Sat, 12 May 2007 01:41:21 -0300
> "Lucas C. Villa Real" <lucasvr at gobolinux.org> escribió
> > 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.
> >
>
> Ok Lucas, then i will try to make patches that can be aplied to the
> standard recipe but only usseful when dietlibc is used.
> I think that Compile can use directly a standard recipe using dietlibc
> with this command:
>
> Compile Device-Mapper -n Diet-Device-Mapper -c "CC=\"diet gcc
> -D_BSD_SOURCE\""
>
> I think there not sould be problems, becouse there are only a few
> recipes with has sense to make with dietlibc.

Sure, that's what I was thinking too.

Good luck,

-- 
Lucas
powered by /dev/dsp


More information about the gobolinux-users mailing list