[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HaikuPorts-devs] [Qemu-devel] Re: [PATCH] [RFC] Haiku host support
From: |
François Revol |
Subject: |
Re: [HaikuPorts-devs] [Qemu-devel] Re: [PATCH] [RFC] Haiku host support and general configure issues |
Date: |
Sun, 08 Mar 2009 19:41:28 +0100 CET |
> >> Well we should have a pthread lib available though...
> >
> > It's part of libroot.so, I thought, and thus referenced without
> > extra
> > linker arguments.
>
> So we should try to compile against -lpthread and then try to compile
> against -lroot. Or better yet, does -pthread do the right thing on
> haiku? We could just switch to that.
-lroot is implied, not needed, so pthread is available without any
flag.
> >> Another big issue that I mentionned earlier here is the widely
> > > used
> >> assumption that error codes are positive, which is not the case
> > > for
> >> BeOS and Haiku.
> >> Not fixing this will result in a dangerous binary.
> >
> > Thanks for the reminder. But that also reminds me, you wanted to
> > supply a patch for that! :)
>
> Such a patch may be something ya'll have to maintain on your own.
> This
> has been discussed a lot in the past and I'm concerned that it's
> going
> to be too invasive.
Too busy to start on it again.
There is nothing wrong with it if done cleanly. It might even help
catch up mistakes.
François.