Creating and using GCJ ARM cross compiler

Andrew Haley aph@redhat.com
Mon Apr 21 15:09:00 GMT 2008


Matthijs van de Water wrote:
> On Mon, Apr 21, 2008 at 4:02 PM, Andrew Haley <aph@redhat.com> wrote:
>> Sounds OK. I'm wondering if the version of libgcc you're
>> using on the target is correct. Are you sure your LD_LIBRARY_PATH
>> on the target system contains your new libraries, not the (default)
>> system ones?
>> I'm quite certain, but to be absolutely sure I also put them with my test app:
> -rwxr-xr-x 1 root root 12018 Apr 21 2008 hello-shared
> -rwxr-xr-x 1 root root 42787616 Apr 21 2008 hello-static
> -rwxr-xr-x 1 root root 88938 Apr 21 2008 libffi.so.4
> -rw-r--r-- 1 root root 42216 Apr 21 2008 libgcc_s.so.1
> -rwxr-xr-x 1 root root 74920750 Apr 21 2008 libgcj.so.81
> -rwxr-xr-x 1 root root 726372 Apr 21 2008 libstdc++.so.6
>> but running LD_LIBRARY_PATH=. ./hello-shared still gives the same error.
> Any other libs that I should put there to be sure?

I'm not sure. Run 
LD_LIBRARY_PATH=. ldd ./hello-shared


More information about the Java mailing list

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