This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Static Linking
- From: Julius Schmidt <aiju at phicode dot de>
- To: libc-help at sourceware dot org
- Date: Tue, 22 Feb 2011 19:16:41 +0100 (CET)
- Subject: Static Linking
- References: <alpine.LNX.2.00.1102221912110.2157@sampi>
Some functions in glibc like gethostbyaddr don't like to be statically linked
(well, you can, but they require the dynamic libraries, defeating the purpose
of static linking). Is there some rationale behind this? (beyond hurr durr
static linking sucks why do you use it; i know, Ulrich)
I don't mean to start a religious flamewar about static vs dynamic
linking; I'd just like to hear why this decision was made.
aiju