[haiku-commits] Re: r38096 - haiku/trunk/headers/build/host/sunos

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 17 Aug 2010 21:03:57 +0200

On 2010-08-17 at 19:21:48 [+0200], Andreas Färber <andreas.faerber@xxxxxx> 
wrote:
> Am 17.08.2010 um 10:33 schrieb Axel Dörfler:
> 
> > andreas.faerber@xxxxxx wrote:
> >> Cygwin and Solaris rely on Haiku supplying a glibc-compatible regex.h
> >> header.
> >> Before r38031, Solaris was able to reuse cygwin/regex.h successfully.
> >> Import
> >> the latest stable 2.11 posix/regex.h to avoid local trickery and to
> >> silence
> >> some RE_* errors.
> >
> > That sounds messy - why can't we use the host's regex.h header?
> 
> Cygwin and Solaris host-compile libroot's glibc regex sources into the
> keymap tool - for that we need a matching header.

Which is quite ugly, though. I'd much rather see a separate copy of the 
regex sources used for the build tools that can be messed with for any 
build platform that needs it.

> Why Cygwin chose that route in the first place, I don't know. Probably
> because no fully GNU-compatible regex.h is available on the host?

I believe that was the reason.

CU, Ingo

Other related posts: