[arm-gnu] myprog "Shared library"

Oleg Kakorin oleg.kakorin at gmail.com
Mon Dec 17 19:40:24 UTC 2012


I am building embedded ARM Linux from scratch and compile embedded ARM
program with Sourcery CodeBench Lite Edition. I have to fill out embedded
system /lib directory with shared libraries. For-instance, I detect what
shared libs myprog use:
> arm-none-linux-gnueabi-readelf -a myprog | grep "Shared library:"
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
When I running search CodeSourcery/arm-2012.03/ directory for-instance for
“libc.so.6” I've got three locations:
/home/oleg/CodeSourcery/arm-2012.03/arm-none-linux-gnueabi/libc/armv4t/lib
/home/oleg/CodeSourcery/arm-2012.03/arm-none-linux-gnueabi/libc/lib
/home/oleg/CodeSourcery/arm-2012.03/arm-none-linux-gnueabi/libc/thumb2/lib
All of them different size, looks like different libs. Could you tell me,
please, how I can detect which one for myprog?
Regards,
Oleg K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/arm-gnu/attachments/20121217/5fcd35b0/attachment.html>


More information about the arm-gnu mailing list