*BSD News Article 77248


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.uwa.edu.au!disco.iinet.net.au!wa.news.telstra.net!act.news.telstra.net!imci3!imci4!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: probs with binutils 2.7
Date: 1 Sep 1996 14:40:59 GMT
Organization: Private BSD site, Dresden
Lines: 19
Message-ID: <50c79r$h3h@uriah.heep.sax.de>
References: <50aac7$mu1@hptemp1.cc.umr.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

pgray@pgray.student.umr.edu (PJ Gray) wrote:

> i am attempting to install binutils 2.7 so I can have the new
> assembler so I can in turn compile libg++ to get g++ 2.7.2 working!
> Anyway, I was told binutils doesn't compile out of the box on
> FreeBSD 2.1.0, which it doesn't.

The linker seems to be the tricky part.  I ended up temporarily in
removing .weak support from the assembler.  Simply replace the
function in gas' source code by a dummy.  (Look around there, there's
a table where the pseudo-ops are being resolved, you have to patch the
function handling .weak's there.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)