problems when build OpenJDK on mips64el

Andrew Haley aph at redhat.com
Mon Mar 15 02:51:38 PDT 2010


On 03/15/2010 05:32 AM, Linwen Deng wrote:

> I'm trying to port OpenJDK to mips64el,but have some troubles,and didn't
> know where is the source problem.
> Here are my steps:
> 
> 1, build gcj. The version of gcc is 4.4.1, and configure like the follows:
> 
> *../configure --prefix=/usr --build=mips64el-linux \
>         --disable-nls --enable-shared --enable-__cxa_atexit \
>         --disable-multilib  --with-abi=64 \
>         --with-ecj-jar=/usr/share/java/ecj.jar \
>         --enable-c99 --enable-long-long --enable-threads=posix \
>         --enable-languages=java*
> 
> the ecj.jar is copied from my PC(x86_64), and version of 4.5.
> 
> 2, compile Classpath-0.98 with gcj

What's the point of this?  gcj already has its own copy of Classpath.

> 3, then I want skip classpath, and compile Iced tea directly, and also meet
> a lot of troubles when make.
> 
> I wonder if my steps is correct, so I need your help. Can you give me some
> tips, or tell me how debian's openjdk was built on mipsel?

AFAIK it was bootstrapped directly with gcj.

Andrew.



More information about the distro-pkg-dev mailing list