Static compilation of Eglibc
Hi all,
I want to statically link Eglibc with my application.But i learned that Eglibc is a shared,which can only be dynamically linked.So i just wanted to know how to statically compile Eglibc so that i can statically link it with my application. thanks and regards mayur |
If you have a Debian or Ubuntu OS, you already have eglibc.
http://packages.debian.org/source/squeeze/eglibc The static libraries are provided by the package libc-dev. http://packages.debian.org/squeeze/libc6 http://packages.debian.org/squeeze/libc6-dev http://packages.debian.org/squeeze/i...6-dev/filelist > /usr/lib/libc.a , /usr/lib/libc_nonshared.a , /usr/lib/libcrypt.a , /usr/lib/libdl.a , /usr/lib/libm.a etc. etc. . |
hi,
Thanks for your suggestion.But i am cross compiling it for arm with Linaro cross compiler.In that case how should i proceed. thanks and regards mayur |
AFAIK, the static libc.a etc. will always be created.
But : It's easy to check on your version of eglibc with ./configure --help . |
Hi,
It's there in the name libc.a...I did not see it properly.. thanks and regards mayur |
All times are GMT -5. The time now is 03:47 AM. |