From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA08571; Mon, 5 Mar 2001 11:09:23 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA08649 for ; Mon, 5 Mar 2001 11:09:22 +0100 (MET) Received: from alan-schm1p (alan-schm1p.inria.fr [128.93.20.79]) by concorde.inria.fr (8.11.1/8.10.0) with SMTP id f25A9G905441; Mon, 5 Mar 2001 11:09:16 +0100 (MET) Received: by alan-schm1p (sSMTP sendmail emulation); Mon, 5 Mar 2001 11:08:16 +0100 From: Alan Schmitt Date: Mon, 5 Mar 2001 11:08:16 +0100 To: =?iso-8859-1?Q?S=E9bastien_Pierre?= Cc: caml-list@inria.fr Subject: Re: [Caml-list] OCaml distribution for BeOS Message-ID: <20010305110816.B6747@alan-schm1p.inria.fr> Mail-Followup-To: =?iso-8859-1?Q?S=E9bastien_Pierre?= , caml-list@inria.fr References: <3aa241da3afd13f3@mahonia.wanadoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3aa241da3afd13f3@mahonia.wanadoo.fr>; from kaze@mail.netcourrier.com on Sun, Mar 04, 2001 at 02:35:02PM +0000 Organization: INRIA Rocquencourt Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, The last time I looked at BeOS (a few years ago, I think, it was the beta release of v4), they did not have a unix select operator (sockets and file descriptors lived in different domains, and could not be mixed together in a select). I don't know if this has changed for v5 (it was supposed to, but I did not look). So if you get to compile the unix library, you'd better be careful to use select only with sockets. For more info about the select call in the beos library, you can look at http://www-classic.be.com/documentation/be_book/The%20Network%20Kit/Sockets.html#Network%20Sockets The FD_SETSIZE of unix is set to 1024 in linux includes, but the beos documentation I pointed to seems to limit this to 32 sockets ... Since it seems to be the only macros used by select.c that is not provided by beos, you can try to add a #define for it. Alan Schmitt >Hi! > >I'm trying to compile OCaml 3.0 under BeOS 5 and am facing a big >problem with the unix module (required by a lot of 3rd party modules). >The otherlib/unix/select.c sourcefile uses some FD_xxxx macros (like >FD_SETSIZE, etc..) that aren't declared in any BeOS header. > >I may have a corrupted /root/develop/header installation, but I was >just wondering (searching in the ml archives didn't gave me a clue) if >someone has managed to compile the unix module for this platform. > >Thanks! > >Seb. >------------------- >To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr -- The hacker: someone who figured things out and made something cool happen. ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr