*BSD News Article 65593


Return to BSD News archive

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!qns3.qns.com!imci4!newsfeed.internetmci.com!news.sprintlink.net!new-news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD vs Linux
Date: 10 Apr 1996 17:43:25 GMT
Organization: SRI Intl. - Montana Operations
Lines: 52
Message-ID: <4kgrvt$d88@helena.MT.net>
References: <4issad$h1o@nadine.teleport.com> <3169406A.61F8D18D@gnu.ai.mit.edu> <4kcsjc$ii@dyson.iquest.net> <316AA938.74276335@gnu.ai.mit.edu>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

In article <316AA938.74276335@gnu.ai.mit.edu>,
H.J. Lu <hjl@gnu.ai.mit.edu> wrote:
>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.

I've created shared C++ libraries for work, and libg++ works fine.  I'm not
sure what your point is.

>Also the MT support will not be as good as with ELF.

The binary file format is *comletely* irrelevant to MT support.


>With ELF, you build a shared C++ library, just like a
>shared C library.

That a function of the GNU tools, not of the binary format.

>No signle line of source code hack is
>needed.

Yet you say later to support this claim:

> I am using those features in the Linux C library behind your
> back. You don't even know it. My C library won't compile
> without ELF plus some cool features from the GNU binutils.
> Thanks, Ian and Ken.

You're contradicting yourself.

>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.

And again here.



Nate

-- 
nate@sneezy.sri.com    | Research Engineer, SRI Intl. - Montana Operations
nate@trout.sri.MT.net  | Loving life in God's country, the great state of
work #: (406) 449-7662 | Montana.
home #: (406) 443-7063 | A fly pole and a 4x4 Chevy truck = Heaven on Earth