This is the mail archive of the gcc-bugs@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]

Re: Unresolved references to __builtin functions building libgcj


Tom Tromey wrote:

> >>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
>
> Bryce> Right. And for some reason libgcj isn't linked to libstdc++:
>
> Bryce> It should be, right? So I added an explicit -lstdc++. Now I'm
> Bryce> getting this:
>
> Do we really want to do that?
> Everything in libstdc++ except the low-level support bits is not
> useful to libgcj.

Hmm - for some reason I had allways assumed that java programs had to
link against libstdc++. But on closer inspection that isn't the case
now. Certainly if we can avoid it then it would be good to not have to
link it.

I guess that either the compiler needs to stop generating calls to these
functions, or they need to be put in a libsupc++.a that we can
static-link into libgcj.

regards

  [ bryce ]



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