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 LAA13659; Wed, 24 Oct 2001 11:07:08 +0200 (MET DST) 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 LAA14074 for ; Wed, 24 Oct 2001 11:07:07 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f9O975j17774; Wed, 24 Oct 2001 11:07:05 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA13894; Wed, 24 Oct 2001 11:07:05 +0200 (MET DST) Date: Wed, 24 Oct 2001 11:07:05 +0200 From: Xavier Leroy To: Berke Durak Cc: caml-list@inria.fr Subject: Re: [Caml-list] OpenBSD and dynamic loading Message-ID: <20011024110705.A13939@pauillac.inria.fr> References: <20011017214131.D27112@gogol.zorgol> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20011017214131.D27112@gogol.zorgol>; from berke@altern.org on Wed, Oct 17, 2001 at 09:41:31PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Will dynamic library loading be supported under OpenBSD ? It remotely > seems to me that it's just a matter of giving the proper options > to the linker and of defining the (unused) RTLD_ flags to dlopen(). In general, dynamic loading support is activated only after thorough testing on the OS in question. That's because there is considerable variability between Unix systems on 1- the compilation flags for building shared objects; 2- the flags supported by dlopen(); 3- whether some features of dynamic loading (e.g. automatic loading of dependent libraries) are properly implemented. Jacques Garrigue and I found the hard way that several reputable Unixes have well-hidden problems with dynamic loading, especially points 2 and 3 above. It is better for the final users to leave dynamic loading turned off in case of doubt rather than turn it on and run into obscure problems later. Concerning OpenBSD in particular, we have no OpenBSD machine to do the testing, so don't expect DLL support there soon. - Xavier Leroy ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr