[vbox-dev] [Patch] kBuild Haiku Fixes v1

Knut St. Osmundsen knut.osmundsen at oracle.com
Mon Sep 10 22:33:22 GMT 2012


Hi Alexander,

thanks for the fixes. I've applied the relevant ones.  

The sed code have received a few haiku hacks so that it now builds with both compilers and doesn't crash.  The crash was in mbrtowc and seems to be a haiku issue and be unrelated to the age of the sed code (this code works on lots of systems).  So, I've just created a ASCII mbrtowc implementation in sed.c to work around this.

The bootstrapped binaries are checked in r2659 ( http://svn.netlabs.org/kbuild/changeset/2659 ). 

One thing I haven't done yet it making the 2nd bootstrap stage work with gcc2. This requires a new tool for gcc v2, honestly not sure how useful this is, so I'll postpone that for now.

Enjoy,
 Knut.


On Aug 22, 2012, at 2:39 PM, kallisti5 <kallisti5 at unixzen.com> wrote:

> On 2012-08-20 11:35 am, kallisti5 wrote:
>> Attached is a patch to fix the kmk compile under Haiku (http://haiku-os.org)
>> 
> 
> Attached is a slightly updated fix which should result in a kBuild that compiles on Haiku.
> 
> The one outstanding bug is the fact that the fairly old version of sed included in kBuild
> seems to crash at first run. (aka kmk_sed)
> 
> Am I correct to assume sed is stock plus the --append option? (and the kBuild makefiles)
> 
> Thanks!
> -- Alex<kbuild-haiku-v1.diff>_______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev





More information about the vbox-dev mailing list