This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Always build libgcc_eh.a


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}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]