Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!csnews!coopnews.coop.net!village.org!not-for-mail From: imp@village.org (Warner Losh) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: ELF Date: 29 Dec 1995 12:25:54 -0700 Organization: Qualcomm, Inc; Boulder Office Lines: 19 Message-ID: <4c1fc2$fhn@rover.village.org> References: <4avq5m$7rk@complete.org> <4bghlm$7q3@pell.pell.chi.il.us> <4bn4i7$g0j@helena.MT.net> <4bnf2d$lhr@news.nynexst.com> NNTP-Posting-Host: rover.village.org In article <4bnf2d$lhr@news.nynexst.com>, H.J. Lu <hjl@gnu.ai.mit.edu> wrote: >I am not sure if that is true for building the shared C++ library. >Under ELF, you don't have to do anything special to your C++ source >to make file-scope constructors/destructors work with shared library. >They even work with dlopen/dlclose. I can assure you that building shared libraries, especially C++ ones, has always been much easier under FreeBSD than under Linux. This was especially true in the a.out days of linux, and is less true today if you are lucky enough to have all the compilers/assemblers/etc hanging around to do elf on the Linux box. In fact, I switched from Linux to FreeBSD when I was building libOI all the time and found FreeBSD much easier to cope with. Warner -- Warner Losh imp@village.org The web browser is the network.