compilation problems with ecj.jar

Andrew Haley aph@redhat.com
Thu Jan 18 15:42:00 GMT 2007


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.

Andrew.



More information about the Java mailing list