From: Israel Alvarez <ia@innovatech.dk>
To: "GNU GCC help list" <gcc-help@gcc.gnu.org>
Subject: Static linking
Date: Wed, 23 Jan 2002 03:24:00 -0000 [thread overview]
Message-ID: <20020123032400.SDcLdgSSPJ2fs_G89vkbe2mAY4RN74pQX7j0fsWwZMg@z> (raw)
Hi everyone!,
I've been trying to link my binary statically with the libraries it uses, but
for a "Hello World!" application it grows up to 4Mb!!!.
I think is because the binary stores the hole libraries, and not only the
methods is going to use.
My question is, Is there any way of getting smaller binaries linking
statically?
thanks,
ia
next reply other threads:[~2002-01-23 11:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-23 3:24 Israel Alvarez [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-10-06 17:20 static linking lrtaylor
2003-09-29 13:41 Pekka Holopainen (KI/EAB)
2003-10-04 18:35 ` Liguo Song
2002-09-20 5:32 numeric_limits Matthias Oltmanns
2002-09-20 5:59 ` static linking Arnauld Michelizza
2002-01-23 3:24 Static linking Israel Alvarez
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=20020123032400.SDcLdgSSPJ2fs_G89vkbe2mAY4RN74pQX7j0fsWwZMg@z \
--to=ia@innovatech.dk \
--cc=gcc-help@gcc.gnu.org \
/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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).