*BSD News Article 62638


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!news.mathworks.com!fu-berlin.de!graichen.dialup.fu-berlin.DE!not-for-mail
From: graichen@mail.physik.fu-berlin.de (Thomas Graichen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gcc2.7.2 for freebsd with repo patch?
Date: 1 Mar 1996 07:17:57 GMT
Organization: his FreeBSD box :-)
Lines: 24
Message-ID: <4h68b5$4eq@prospero.physik.fu-berlin.de>
References: <4h54ae$4st@umbc9.umbc.edu>
NNTP-Posting-Host: graichen.dialup.fu-berlin.de (160.45.217.183)
X-Access: 16 17 19
X-Newsreader: TIN [version 1.2 PL2]

Ray Cromwell (rcromw1@umbc.edu) wrote:
:   Has anyone compiled gcc2.7.2 + template repository patch for FreeBSD2.1?
: I tried compiling binutils2.6 (from my previous experience with
: gcc2.7.2 on BSDI2.0, I know that it requires the new gnu linker
: because it only understands its output whyen it scans for
: unresolved symols ), however, there doesn't appear to be a port
: of binutils2.6 to FreeBSD2.1 I tried building it configured for  
: netbsd and bsdi however, the resulting linker does not understand
: any of the libraries in /usr/lib (neither does the ar, ranlib, nm,
: etc utils) New a.out format?
:   If you have successfully built gcc2.7.2 (and binutils2.6) with
: a working template repository, please send me mail. Thanks.

you can build the gcc 2.7.2 so that it works with the standard FreeBSD ld -
simply remove the lines dealing with "WEAK" in config/i386/freebsd.h and
rebuild your gcc - this should work

t

--
  thomas graichen    graichen@mail.physik.fu-berlin.de    graichen@FreeBSD.org

  perfection is reached, not when there is no longer anything to add, but when
      there is no longer anything to take away    antoine de saint-exupery