Re: Creating and using GCJ ARM cross compiler
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
Matthijs van de Water wrote: > On Mon, Apr 21, 2008 at 4:02 PM, Andrew Haley <[email protected]> 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