FreeBSD <sys/types.h>

Nicolas Souchu nsouch@free.fr
Tue, 14 Dec 2004 21:55:57 +0100


On Sat, Dec 11, 2004 at 03:38:25PM +0100, Robert Millan wrote:
[...]
> Well it's not the same importing code into FreeBSD and adding compatibility
> chunks than adding compatibility chunks in order to export the code, but we
> end up with hacked code in both cases =).

In both cases, but it differs anyway :)

> OTOH, GNU projects are known for adapting themselves to other systems when
> they pretend to support them.  The typical example is autoconf, and an extreme
> one are GCC's fixincludes hack.  I would like to avoid hacking a fixincludes
> variant for Glibc for pollitical reasons as long as the technical reasons
> suggest to patch kFreeBSD headers, though.
> 
> > An acceptable solution will only arrive when the constraint of having glibc
> > running on BSD systems will become necessary for both.
> 
> Good point.  Do you think having Glibc in ports would help?  I don't know much
> FreeBSD (as a project) but I recall seeing programs in ports motivating changes
> in src in order to be supported.

Glibc in ports is a nice idea. I already suggested GNU/kFreeBSD bootstrapped
by a port.

> Even if we can't merge our patches with upstream, maintaining them is an itch
> we could live with.  But if we can find a solution that upstream likes, that'd
> be much better! ;)

Bring glibc somehow in the place and wait for porters wanting to use it.

Nicholas