![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() Group: Members Posts: 900 Joined: 22-May 04 Member No.: 3,385 ![]() |
I've been trying to run native onboard compilation on the Z, under 3.4.5.1-rc2, but can't get it to work. So I have two questions.
In the latest OOO Newsletter it mentions a native SDK. Where is it? I couldn't find it? If that's a no go, could someone walk me through setting up a native development environment on the Z. I've installed a ton of packages, which I think are necessary. Now when I try compiling a simple hello world prog, I get: CODE /usr/lib/gcc/arm-linux/3.4.4/../../../../arm-linux/bin/ld: cannot find /usr/lib/libc_nonshared.a inside /usr/bin/../../usr collect2: ld returned 1 exit status The file libc_nonshared.a is in /usr/lib/ I can't determine what the problem is. Can someone help me? |
|
|
![]()
Post
#2
|
|
![]() Group: Members Posts: 1,097 Joined: 17-December 03 From: Athens, Greece Member No.: 1,210 ![]() |
try
QUOTE ln -s /usr /usr/ (/usr/bin/../../usr/usr/lib/libc_nonshared.a = /usr/usr/lib/libc_nonshared.a ) |
|
|
![]()
Post
#3
|
|
![]() Group: Members Posts: 900 Joined: 22-May 04 Member No.: 3,385 ![]() |
QUOTE(pgas @ May 13 2006, 06:37 AM) try QUOTE ln -s /usr /usr/ (/usr/bin/../../usr/usr/lib/libc_nonshared.a = /usr/usr/lib/libc_nonshared.a ) Thanks: In the meantime I've committed this ugly hack: CODE Edit /usr/lib/libc.so and change to: Seems to be working so far./* GNU ld script Use the shared library, but some functions are only in the static library, so try that secondarily. */ OUTPUT_FORMAT(elf32-littlearm) /* GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) ) */ GROUP ( /lib/libc.so.6 /lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) ) and libpthread.so ln -s /lib/ld-linux.so.2 /usr/lib ln -s /usr/lib/libpthread_nonshared.a /lib/ ln -s /usr/lib/libc_nonshared.a /lib/ Will see how it goes. |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 21st April 2018 - 02:16 AM |