Date: Sat, 28 Dec 1996 09:10:54 -0800 (PST) From: Peter Wemm <peter> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/csu/i386 crt0.c Message-ID: <199612281710.JAA17612@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 96/12/28 09:10:53 Modified: lib/csu/i386 crt0.c Log: When linking with no rtld support, provide stub dl*() functions that just return errors. This removes the need for awful hacks like that in our build of libtcl which would get link errors when linked static. John Polstra once mentioned that this was on his "todo" list. Note that one can use: cc -Wl,-Bstatic -o foo foo.o and get an executable that has it's libraries statically linked, but has a fully functional runtime linker so the executable can call dlopen() and have it work. (I've tested this) Revision Changes Path 1.26 +43 -1 src/lib/csu/i386/crt0.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612281710.JAA17612>