RFC: Always build libgcc_eh.a

Alexandre Oliva aoliva@redhat.com
Sun Feb 13 03:28:00 GMT 2005


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}



More information about the Gcc-patches mailing list