From owner-freebsd-hackers Tue Oct 8 08:20:53 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA02018 for hackers-outgoing; Tue, 8 Oct 1996 08:20:53 -0700 (PDT) Received: from tokyonet-entrance.astec.co.jp (tokyonet-entrance.astec.co.jp [202.239.16.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA02009 for ; Tue, 8 Oct 1996 08:20:48 -0700 (PDT) Received: from amont.astec.co.jp (amont.astec.co.jp [172.20.10.1]) by tokyonet-entrance.astec.co.jp (8.6.12+2.5Wb7/3.4Wbeta5-astecMX2.3) with ESMTP id AAA01466; Wed, 9 Oct 1996 00:20:33 +0900 Received: from astec.co.jp ([192.168.23.1]) by amont.astec.co.jp (8.7.6/3.5Wbeta-astecMX2.4) with ESMTP id AAA29051; Wed, 9 Oct 1996 00:20:30 +0900 (JST) Received: from tau (localhost [127.0.0.1]) by astec.co.jp (8.7.5/3.5Wbeta-ppp) with ESMTP id AAA00222; Wed, 9 Oct 1996 00:18:41 +0900 (JST) Message-Id: <199610081518.AAA00222@astec.co.jp> To: kuku@gilberto.physik.rwth-aachen.de Cc: freebsd-hackers@freefall.FreeBSD.org Subject: Re: linking against linux libs. From: Hiroyuki Hanai In-Reply-To: Your message of "Tue, 8 Oct 1996 14:50:45 +0100" References: <199610081350.OAA17387@gilberto.physik.rwth-aachen.de> X-Mailer: Mew version 1.06 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Wed, 09 Oct 1996 00:18:41 +0900 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Christoph Kukulies wrote: > The question came up here (since CERN currently doesn't supply > support for their CERNLIB under FreeBSD) whether it would be possible > to link against linux libraries. > > Would that be possible? Or is there a way to convert these libs > to FreeBSD ones? I don't know whether it's possible, but... > Otherwise I fear that the Pentium Pro I have acquired here has to > run under, sigh, Linux. > > I'm thinking of porting the libs to FreeBSD though (sources are > available) but with the recent talkings about random and seed.... > No, kidding aside :-) I was in KEK(High Energy Physics lab. in Japan) and working on Elementary particle physics until this March and was using CERNLIB on my FreeBSD(and BSD/OS) machine ;-) According to my experience, porting CERNLIB to FreeBSD is not difficult! Almost all source files(which are written in Fortran) are compiled using f2c and gcc with no change and if you needed to change them, it would be very easy. Also, many C source files can be compiled with no difficulty. I think there is one difficulty, which concerns the dynamic loading of shared libraries, but it will be no problem if you have some experiences about it. Another problem is paw++ because it uses the Motif library. If you want to port paw++ to FreeBSD, you should buy Motif library. Now, I am not physicist and the sources of CERNLIB is not available because of CERN's License, so I cannot make patches for you. Sorry. -----H.Hanai