*BSD News Article 78647


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!newsfeed.internetmci.com!in3.uu.net!news.u.washington.edu!cargpc5.atmos.washington.edu!dbx
From: dbx@atmos.washington.edu (Doug Burks)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: binutils-2.7 on FreeBSD 2.1.5
Date: 19 Sep 1996 16:54:59 GMT
Organization: Dept of Atmospheric Sciences, Univ of Washington
Lines: 24
Sender: dbx@cargpc5.atmos.washington.edu (Doug Burks)
Message-ID: <51rtt3$b5t@nntp1.u.washington.edu>
Reply-To: dbx@atmos.washington.edu
NNTP-Posting-Host: cargpc5.atmos.washington.edu

Greetings,

I recently installed FreeBSD-2.1.5-RELEASE on my PC at work and have
been quite pleased with it.  However (Isn't there always a "However"?
:) ), I have a problem.

I successfully installed GCC-2.7.2, but when I tried to compile a few
C++ functions, the assembler complained about a ".weak" directive.  I
figured that GAS was simply out-of-date, so tried to install GNU
binutils-2.7.  However, that package does not compile out of the box.
The closest existing configuration was for "freebsdelf", but the
official FreeBSD 2.1.5-RELEASE uses a.out as far as I can tell.  I
tried a few other configurations, including adding entries to the
configure scripts.  However, nothing has worked, and I can find
nothing touching on this in the FAQ or FreeBSD Handbook (though my
search was not exhaustive).

Does anyone have any suggestions, solutions, comments, corrections,
etc., or must I live with GCC-2.6.3 and the old GAS?

Thank you much!

Doug Burks
dbx@atmos.washington.edu