*BSD News Article 62688


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!iol!tank.news.pipex.net!pipex!news.mathworks.com!gatech!newsxfer2.itd.umich.edu!chi-news.cic.net!uwm.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!lerc.nasa.gov!purdue!haven.umd.edu!news.umbc.edu!not-for-mail
From: rcromw1@umbc.edu (Ray Cromwell)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gcc2.7.2 for freebsd with repo patch?
Date: 2 Mar 1996 23:19:37 -0500
Organization: University of Maryland, Baltimore County
Lines: 37
Message-ID: <4hb6kp$fsd@umbc9.umbc.edu>
References: <4h54ae$4st@umbc9.umbc.edu> <4h68b5$4eq@prospero.physik.fu-berlin.de>
NNTP-Posting-Host: umbc9.umbc.edu
NNTP-Posting-User: rcromw1

In article <4h68b5$4eq@prospero.physik.fu-berlin.de>,
Thomas Graichen <graichen@mail.physik.fu-berlin.de> wrote:
>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

  Are you sure? I'm not just talking about plain gcc2.7.2, I'm talking
about gcc2.7.2 with Cygnus's template repository patch for G++. The last
time I compiled it for BSDI, I looked at the source code patch, and
it was very dependent on the format of the output of the gnu linker
in binutils2.6. Since that hasn't changed (the patch), I can't see
how the template repository would now work. Without the template
repository patch, C++ with GCC is almost useless, as you can't really
use the standard template library without a declaring all template
instantiations explicity (very irritating, recompile 5-10 times looking
for more undefined symbols)

-Ray

 
-- 
"Engineering is the implementation of science;
 Politics is the implementation of faith." - Zetetic Commentaries
Ray Cromwell <rcromw1@gl.umbc.edu> (http://www.gl.umbc.edu/~rcromw1/)