From: Timerlan Moldobaev <moldobaev@gmail.com>
To: musl@lists.openwall.com
Subject: Building libc separately from libm,librt,libpthread and others
Date: Sun, 7 Apr 2013 17:43:11 +0300 [thread overview]
Message-ID: <CAE+eE2KPijbLym0Hv3RH2ub+ALzTL=m4vR+PS8Amo6SjYCRTPA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
Hi,
Can you please help with reducing the size of statically linked libc.a
library ?
Whereas the comparison table located in
http://www.etalabs.net/compare_libcs.html
claims the size of complete .a set as 333k, I got around 2M while building
the library on x86_64 with gcc version 4.1.1.
I suppose that might be caused by including in libc.a object files that
belong to libm, librt, libpthread and others.
Am I right ?
Is there any way to compile libc.a solely ?
Thanks,
Tim.
[-- Attachment #2: Type: text/html, Size: 725 bytes --]
next reply other threads:[~2013-04-07 14:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-07 14:43 Timerlan Moldobaev [this message]
2013-04-07 14:52 ` John Spencer
2013-04-07 15:43 ` Szabolcs Nagy
2013-04-07 16:04 ` John Spencer
2013-04-08 7:43 ` Timerlan Moldobaev
2013-04-08 15:43 ` Rich Felker
2013-04-07 16:21 ` Szabolcs Nagy
2013-04-08 3:32 ` Rich Felker
2013-04-08 8:31 ` Timerlan Moldobaev
2013-04-08 12:48 ` Boris Alesker
2013-04-08 3:47 ` nwmcsween
2013-04-08 12:54 Boris Alesker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAE+eE2KPijbLym0Hv3RH2ub+ALzTL=m4vR+PS8Amo6SjYCRTPA@mail.gmail.com' \
--to=moldobaev@gmail.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).