[gobolinux-users] Programs against dietlibc

Aitor Pérez Iturri aitor.iturri at gmail.com
Sat May 12 10:02:32 UTC 2007


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.

Greets.
Aitor.



More information about the gobolinux-users mailing list