<tt><font size=2>> It's your ld-fu that's weak. Basically, you can
treat an ar-archive<br>
> as an object file when liking them together. That way you can choose<br>
> which libraries to link statically and which to link dynamically.<br>
</font></tt>
<br><tt><font size=2>You are correct. I strengthend my ld-fu (or rather
my collect2-fu)</font></tt>
<br><tt><font size=2>and came up with:</font></tt>
<br>
<br><tt><font size=2>/usr/libexec/gcc/i386-redhat-linux/4.1.2/collect2
--eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2
-o send_nsca send_nsca.o utils.o netutils.o -lnsl -lgcc /usr/lib/crt1.o
/usr/lib/crti.o /usr/lib/gcc/i386-redhat-linux/4.1.2/crtbegin.o -L/usr/lib
-L/usr/lib/gcc/i386-redhat-linux/4.1.2 --as-needed -lgcc_s --no-as-needed
-lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i386-redhat-linux/4.1.2/crtend.o
/usr/lib/crtn.o /usr/lib/libmcrypt.a</font></tt>
<br>
<br><tt><font size=2>This gives me a dynamic linked send_nsca with static
linked libmcrypt.</font></tt>
<br><tt><font size=2>Sadly I didn't check the size of libmcrypt.a and the
stripped send_nsca</font></tt>
<br><tt><font size=2>is still 170kb - little bit too much for me.</font></tt>
<br>
<br><tt><font size=2>Guess I have to keep looking for a solution...</font></tt>
<br>
<br><tt><font size=2>Thanks for the hint anyway.</font></tt>
<br>
<br><tt><font size=2>Regards</font></tt>
<br><tt><font size=2>        Sascha</font></tt>
<br>
<br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">GFKL Financial Services AG</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Tom Haverkamp</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma</span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522</span>