*BSD News Article 60538


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.hawaii.edu!ames!agate!howland.reston.ans.net!nntp.coast.net!news00.sunet.se!sunic!news99.sunet.se!erinews.ericsson.se!eua.ericsson.se!kontimw
From: kontimw@eua.ericsson.se (Tim Wilkinson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: GCC v2.7.2 / libg++ v2.7.1 binaries?
Date: 26 Jan 1996 14:51:32 GMT
Organization: Ericsson Telecom Systems Labs, Stockholm, Sweden
Lines: 28
Message-ID: <4eappk$75@euas20.eua.ericsson.se>
References: <4e74ch$iat@nkosi.well.com> <4e8gfb$qji@crchh327.rich.bnr.ca>
NNTP-Posting-Host: euax3i4c22.eua.ericsson.se
NNTP-Posting-User: kontimw
X-Newsreader: TIN [version 1.2 PL2]

Rostyslav Cisyk (rcisyk@bnr.ca) wrote:

: Anyway, I am currently trying a fix suggested by Tim Wilkinson. The fix
: includes placing "#define SUPPORTS_WEAK 0" in
: gcc-2.7.2/config/i386/freebsd.h
:
: I'll let you know if I am able to successfully build shared libg++-2.7.1

I should point out that my versions of gcc-2.7.2 and out libg++-2.7.1 were
built with the 2.1.0R assembler and NOT the current GNU release one.  You
can use binutils-2.6 to make static libraries ('cause I've tried this),
but, although I haven't tried to build a shared libg++ library with it
recently, I wouldn't expect it to work.  This is because the BFD support
in the utilities doesn't have the necessary code to generate FreeBSD style
shared library information.  What it needs is someone to invested a fair
bit of time developing it.

I do hear that when FreeBSD finally starts using the current GNU binutils,
it'll be when they switch over to ELF format binaries.

I am, hope you are to.

Tim
--
  Tim Wilkinson                          Email:  tim@sarc.city.ac.uk
  Systems Architecture Research Centre,  Tel:    +44 171 477 8551
  City University, Northampton Sq.,      Fax:    +44 171 477 8587
  London EC1V 0HB, UK.