[openbeos] Re: GCC headers in headers/posix

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 09 Nov 2005 01:05:10 +0100

On 2005-11-08 at 18:38:37 [+0100], Jérôme Duval wrote:
> Selon Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>:
[...]
> BTW is the src/system/libroot/posix/glibc/libio/_G_config.h header meant to 
> be
> the same as headers/glibc/_G_config.h ?
> I would guess it is (There Can Be Only One).

The public header is basically just a hacked copy of the other one (removing 
dependencies to other glibc headers). The problem is, that _G_config.h is 
included from public headers, so it must live in a public place (just as in 
BeOS). Recent glibc versions come with a whole bunch of public headers 
("bits/...", "arch/..."). It's almost a bit surprising that things work the 
way we use them, but it's probably thanks to the fact that we basically only 
use the libio part of glibc.

CU, Ingo

Other related posts: