This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: make in libjava uses wrong specs to build libgcj...
On Fri, Sep 03, 2004 at 04:42:04PM -0400, Bryce McKinlay wrote:
> H. J. Lu wrote:
>
> >>This seems to be an automake problem:
> >>
> >>/newdisk/programs/mipsel-gccmaincvs/gcc/gcj
> >>-B/newdisk/programs/mipsel-gccmaincvs/gcc/
> >>-B/home/test35/mipsel-linux/bin/ -B/home/test35/mipsel-linux/lib/
> >>
> >>The later two -B flags are incorrect, because they point to the
> >>installation directory when building libjava. The AM_PROG_GCJ macro is
> >>attaching these to $(GCJ). It should be instead passing the equivalent
> >>locations in the _build_ directory.
> >>
> >>
> >>
> >
> >Try
> >
> >http://gcc.gnu.org/ml/gcc-patches/2004-09/msg00357.html
> >
> >It should fix it.
> >
> >
> I don't think so. The same, incorrect -B arguments will still be there.
>
It seems to work for me. I changed libgcj.spec and it was used for
rebuild.
H.J.