[uClibc-cvs] uClibc/extra/Configs Config.in,1.12,1.13
Erik Andersen
andersen at codepoet.org
Wed Nov 27 23:34:11 UTC 2002
Update of /var/cvs/uClibc/extra/Configs
In directory winder:/tmp/cvs-serv365/extra/Configs
Modified Files:
Config.in
Log Message:
Make support for global constructors and global destructors be
configurable, so people who do not need or want ctor/dtor support
can disable it and make their binaries a little bit smaller.
-Erik
Index: Config.in
===================================================================
RCS file: /var/cvs/uClibc/extra/Configs/Config.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Config.in 21 Nov 2002 06:06:22 -0000 1.12
+++ Config.in 27 Nov 2002 23:34:07 -0000 1.13
@@ -60,6 +60,23 @@
application to function. Disabling this option will makes uClibc's
shared library loader a little bit smaller. Most people will answer Y.
+config UCLIBC_CTOR_DTOR
+ bool "Support global constructors and destructos"
+ default y
+ help
+ If you wish to build uClibc with support for global constructor
+ (ctor) and global destructor (dtor) support, then answer Y here.
+ When ctor/dtor support is enabled, binaries linked with uClibc must
+ also be linked with crtbegin.o and crtend.o which are provided by gcc
+ (the "*startfile:" and "*endfile:" settings in your gcc specs file
+ may need to be adjusted to include these files). This support will
+ also add a small amount of additional size to each binary compiled vs
+ uClibc. If you will be using uClibc with C++, or if you need the gcc
+ __attribute__((constructor)) and __attribute__((destructor)) to work,
+ then you definately want to answer Y here. If you don't need ctors
+ or dtors and want your binaries to be as small as possible, then
+ answer N.
+
config UCLIBC_HAS_THREADS
bool "POSIX Threading Support"
default y
More information about the uClibc-cvs
mailing list