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

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 17 Aug 2010 19:27:07 +0200

Le 17 août 2010 à 19:21, Andreas Färber a écrit :

> 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.
> 
> 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?
> 
> For instance, there's no single RE_* macro in OpenSolaris's regex.h header:
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/head/regex.h

Hmm neither in OSX' one, does that mean if I jam clean and try a full build it 
will screw up now ?

François.

Other related posts: