compilation problems with ecj.jar
Marco Trudel
mtrudel@gmx.ch
Fri Jan 19 11:45:00 GMT 2007
Andrew Haley wrote:
> Marco Trudel writes:
> > Mohan Embar wrote:
> > > Hi All,
> > >
> > >> Either a wrong gcj is choosen or the output should be named "ecj"
> > >> instead of "ecj.exe". Furthermore, the compilation fails:
> > >
> > > I've only had time to half-skim this thread, but I thought I identified
> > > and fixed this issue on the ecj branch:
> > >
> > > http://gcc.gnu.org/ml/java-patches/2006-q4/msg00221.html
> >
> > It's somehow hard to follow the discussion without background
> > information. Hm, did your patch ever go in? Was everything proper in the
> > end?
> >
> > How did you manage to compile the host=mingw target=mingw gcc? I always
> > end up with:
> > undefined reference to `_mpfr_init'
> > undefined reference to `_mpfr_atan2'
> > undefined reference to `_mpfr_erfc'
> > undefined reference to `_mpfr_subnormalize'
> > in the mpfr test of configure.
>> You're missing mpfr on mingw. You need to build it.
>> See http://gcc.gnu.org/install/prerequisites.html.
The problem was that I didn't cross-compile mpfr. I was convinced that
the problem had to be elsewhere because configure didn't complain about
the not cross-compiled gmp which is tested just before mpfr.
thanks
Marco
More information about the Java
mailing list