« Return to Thread: problem with GCJ while running java code

Re: problem with GCJ while running java code

by gforgcc :: Rate this Message:

Reply to Author | View in Thread


Andrew Haley wrote:
You're picking up the assembler for your host machine, not the cross-assembler
for your target.

When you run configure, make sure that your target binutils are in the PATH.
Alternatively, you can use --with-ld=, --with-as=, etc.

The output of configure will tell you which ld, as, etc. it's using.  Make sure
these are the target versions.

Andrew.
oh.. ya thanks for that info Andrew...:)
and again it is giving some other problems...

i configured --with-ld=<ld in the rootfs-f8 usr/bin/ folder> i.e. --with-ld=/home/developer/downloads/rootfs-f8/usr/bin/ld
and similarly for --with-as --with-ar --with-nm too.....

during the time of compilation after sometime it tells
/scratchbox/tools/bin/misc_runner: /targets/links/scratchbox.config: No such file or directory :(
(is this because i am running outside scratchbox ?)

and when i tried running inside scratchbox it is telling
/lib/ld-linux.so.3 not found...

how to proceed further ?
thanks again.. :)

 « Return to Thread: problem with GCJ while running java code