This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Always build libgcc_eh.a
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 12 Feb 2005 15:08:04 -0200
- Subject: Re: RFC: Always build libgcc_eh.a
- Organization: Red Hat Global Engineering Services Compiler Team
- References: <20050211203524.GA7617@nevyn.them.org>
On Feb 11, 2005, Daniel Jacobowitz <drow@false.org> wrote:
> The first thing I tried was to check for libgcc_eh.a during configure. That
> works, but my normal process is to build a --disable-shared toolchain, then
> glibc, then an --enable-shared toolchain. When I go back to my glibc
> working directory, I can't rebuild glibc any more. It only pulls in
> libgcc.a, and the EH routines are now missing.
My ``solutionÂÂ, after fighting Uli for a better solution in the glibc
build and getting the standard kind of response I get from him, was to
come up with this: ln -s libgcc.a libgcc_eh.a after the first
toolchain is build. Works like a charm.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}