Subject: Re: gtk2 won't make
To: Art Lemasters <slemas1@mindspring.com>
From: Andreas Kahari <ak+netbsd@freeshell.org>
List: current-users
Date: 03/01/2004 21:12:23
On Mon, Mar 01, 2004 at 10:03:49PM +0100, Michael Rauch wrote:
> Hi, 
> 
> On Mon, Mar 01, 2004 at 11:25:30AM -0700, Art Lemasters wrote:
> >   On another topic...still haven't found a solution to getting
> > the libgcc problem fixed enough to update the kernel and continue
> > with current.
> 
> the following should do the trick:
> 
> cd `mktemp -d libgcc.XXXXXX`
> ar xo /usr/lib/libgcc.a
> ar xo /usr/lib/libgcc_eh.a
> ar cru libgcc.a *.o
> cp libgcc.a /usr/lib/libgcc.a

That does indeed appear to fix the C++ problems I've been having
(see my recent message in the "problems compiling groff?"
thread).  A simple C++ hello world now compiles, links, and
runs.  I'm rebuilding a new toolchain now to see if groff still
complains (I don't think it will).

Thanks!

-- 
Andreas Kähäri                      |{==}|
                                    |=}{=|
East Anglia                         |{==}|
England                             |=}{=|