Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Oct 1996 00:18:41 +0900
From:      Hiroyuki Hanai <hanai@astec.co.jp>
To:        kuku@gilberto.physik.rwth-aachen.de
Cc:        freebsd-hackers@freefall.FreeBSD.org
Subject:   Re: linking against linux libs.
Message-ID:  <199610081518.AAA00222@astec.co.jp>
In-Reply-To: Your message of "Tue, 8 Oct 1996 14:50:45 %2B0100"
References:  <199610081350.OAA17387@gilberto.physik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610081518.AAA00222>