[haiku-development] Re: missing -lm?

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 02 May 2008 15:46:15 +0200 CEST

> > Yes, and some makefiles I wrote check for it to detect BONE...
> > (but some others check for headers/be/bone, will need to change
> > that)
>
> Most checks for BONE that I've seen failed for Haiku. Some of them
> checked for BONE_VERSION in sys/socket.h and thus dropped back to R5

I usually check for IPPROTO_TCP != 6, as it is 1 on net_server, to
disable net_server hacks (which is different of enabling BONE-specific
stuff).

> sections. Haiku is not BONE, even for BONE there are some unnecessary
> code paths around; making them fail seems like the easiest way to get
> rid of or to discover them. (Haiku's Find doesn't seem able to do
> full-
> text searches?)

No it's only a query, it doesn't search the contents, use grep (or
TrackerGrep) for that.

François.

Other related posts: