On Tue, Jul 14, 2009 at 10:33:34AM -0400, George Woltman wrote: > 1) Should I configure libcurl without more stuff? I stay as far away from > networking internals as possible.
You probably should configure it with as few external dependencies as possible. In particular, SSL libraries are historically difficult license-wise. You do not need LDAP. You do not need Kerberos or GSS support. You do not need IDN support. Personally I'd be happy if mprime could talk IPv6 (even though the servers do not support IPv6 at the moment, I take it); keeping --enable-ipv6 shouldn't cost much or need external libraries. > 2) I left the libraries that libcurl needs dynamicly linked. Would you > recommend that some of these be static instead? Everything not part of glibc (libc, libm, librt, libdl, libpthread) should be linked statically, as far as the license permits. If you look at the finished binary with ldd you will also see ld-linux.so.2 (the dynamic loader) and linux-gate.so.1 (a page the kernel links in dynamically for the syscall interface); do not worry about those. > LIBS = ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic > -lcurl -lstdc++ -Wl,-Bdynamic -ldl -lidn -lldap -lrt -lz It will probably be a bit more robust if you use the $(shell idiom instead. /* Steinar */ -- Homepage: http://www.sesse.net/ _______________________________________________ Prime mailing list [email protected] http://hogranch.com/mailman/listinfo/prime
