Return to BSD News archive
#! rnews 2064 bsd Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!news.cais.net!news.jsums.edu!gatech!newsfeed.internetmci.com!news.MediaCity.com!usenet From: "H.J. Lu" <hjl@gnu.ai.mit.edu> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD vs Linux Date: Tue, 09 Apr 1996 11:15:20 -0700 Organization: Ooops Lines: 30 Message-ID: <316AA938.74276335@gnu.ai.mit.edu> References: <4issad$h1o@nadine.teleport.com> <31657509.5E45C160@gnu.ai.mit.edu> <4k4cfa$ava@uriah.heep.sax.de> <3169406A.61F8D18D@gnu.ai.mit.edu> <4kcsjc$ii@dyson.iquest.net> NNTP-Posting-Host: jimi.innovix.com Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.01 (X11; I; Linux 1.3.81 i586) John S. Dyson wrote: > > can do to improve FreeBSD's quality right now. Given that > Linux NEEDED a real shared lib scheme, it was reasonable at > the time for Linux to adopt ELF. FreeBSD had a REAL shared > lib scheme for the last 2yrs at least. Correct me if I am wrong. There are no simple ways to create a shared C++ library under FreeBSD. Also the MT support will not be as good as with ELF. With ELF, you build a shared C++ library, just like a shared C library. No signle line of source code hack is needed. The same source code can be used to build static and shared libraries. No #ifdef hacks at all. That is just one of many things ELF can provide. If ELF is the standard for Unix, many new Unix softwares with new features can be written without much kludges. Very few people really know how ELF can be used. I just install a popular commercial C++ class library on an ELF system. Although they support shared libraries under Solaris which is an ELF system. But their Makefile is not correct in building a shared shared under ELF. I had to comment out those -DSHAREDLIBRARY to build a shared ELF C++ library. ELF is one opportunity for Unix to create new, innovative softwares. I hate to see Unix miss the chance. H.J.