problem with GCJ while running java code

Andrew Haley aph@redhat.com
Sun Apr 13 22:08:00 GMT 2008


Cesc wrote:
>> Andrew Haley wrote:
>>>> Build gcc in a clean directory with --with-sysroot= pointing at your ARM
>> root filesystem:
>>>> /home/aph/gcc/trunk/configure --prefix=/local/x-arm-gcc/install \
>> --with-sysroot=/local/x-arm-gcc/rootfs-f8 --disable-libssp
>> --disable-libgomp \
>> --disable-libmudflap --enable-libgcj --disable-bootstrap
>> --disable-multilib \
>> --disable-static --disable-sjlj-exceptions --target=arm-linux-gnueabi
>> --enable-languages=c,c++,java
>>>> make
>>>>>> Hi Andrew,
>> thanks for your hint. 
>> I'm getting this error when I do make:
>> ../.././gcc/config/arm/arm.c: In function ‘thumb_find_work_register’:
> ../.././gcc/config/arm/arm.c:3567: error: ‘struct function’ has no member
> named ‘args_info’
> make[2]: *** [arm.o] Error 1
> make[2]: Leaving directory `/root/tmp/trunk/host-i686-pc-linux-gnu/gcc'
> make[1]: *** [all-gcc] Error 2
> make[1]: Leaving directory `/root/tmp/trunk'
> make: *** [all] Error 2
>>> Config:
>> ./configure --prefix=/root/tmp/f8/install

When I said "Build gcc in a clean directory" above *I really meant it*.
Don't configure in srcdir. I don't know if this is the cause of your
problem, but don't do it.
> --with-sysroot=/root/tmp/f8/rootfs-f8/ --disable-libssp --disable-libgomp
> --disable-libmudflap --enable-libgcj --disable-bootstrap --disable-multilib
> --disable-static --disable-sjlj-exceptions --target=arm-linux-gnueabi
> --enable-languages=c,c++,java
> --with-build-time-tools=/root/tmp/f8/rootfs-f8/usr/bin/
>> I'm doing this with Kubuntu (2.6.22.4), does it matter? should I try with
> fedora 8?

That shouldn't make any difference.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /