From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 09:53:22 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C20416A4CE for ; Thu, 10 Mar 2005 09:53:22 +0000 (GMT) Received: from yggdrasil.interstroom.nl (yggdrasil.interstroom.nl [80.85.129.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E07543D49 for ; Thu, 10 Mar 2005 09:53:21 +0000 (GMT) (envelope-from o.greve@axis.nl) Received: from ip127-180.introweb.nl ([80.65.127.180] helo=[192.168.1.42]) by yggdrasil with asmtp (Exim 3.35 #1 (Debian)) id 1D9KLz-000365-00; Thu, 10 Mar 2005 10:53:15 +0100 Message-ID: <42301918.5020200@axis.nl> Date: Thu, 10 Mar 2005 10:53:28 +0100 From: Olaf Greve User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <001c01c5001f$a8fce7a0$7e35c2cb@mafxp> In-Reply-To: <001c01c5001f$a8fce7a0$7e35c2cb@mafxp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Interstroom virusscan, please e-mail helpdesk@interstroom.nl for more information X-MailScanner-SpamCheck: Subject: Native POSIX threads + Java under FreeBSD 5.3 release i386 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 09:53:22 -0000 Hi all, As is typical, I have once again been given very limited time to get something running, and there are some interesting things to figure about about it. :) In brief, the application is a distributed one, loosely based on some CORBA concepts, though differently (fortunately!). The supported programming languages are C/C++/Java/Ada, of which Java will probably be the one we would like to use. Now, the issue is (or may be), that the recommended (and only tested) platforms are Solaris and Linux (particularly Red Hat and SuSe - kernel versions 9). The apparent reason for this, is that the platform requires the NPTL (Native Posix Threads Library). I'm looking somewhat into the support for NPTL under FreeBSD 5.3 release i386, and I have come across the following URL: http://www.unobvious.com/bsd/freebsd-threads.html From this, it sounds like the LinuxThreads (i.e. /usr/ports/devel/linuxthreads) should do the trick. However, I have no experience with these threads and I wonder whether it is a good idea to try to get the platform working under FreeBSD (my favourite Unix), or whether it may be better to install Red Hat or SuSe this once. :) Can anyone tell me something about the following: 1) Does the linuxthreads library provide 100% NPTL support, as under Linux? 2) Does usage of the library incur a kernel recompilation, or will all scripts of the platform have to be changed such that the linuxthreads library is linked in? 3) A different question: what is the best JDK 1.4.x port to install, and does one of those perhaps have support for NPTL? I hope anyone can help me out a bit with this, even if it only is about whether to make the best choice between figuring out how to get this platform going under FreeBSD (being the Unix with which most experience I have), or whether to try to go Linux and have a -perhaps- more straightforward installation of the platform (at the expense of not knowing the particular intricacies of those Linuxes). Help/opinions are very much appreciated. :) Cheers! Olafo