Config.in 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see extra/config/Kconfig-language.txt
  4. #
  5. mainmenu "uClibc C Library Configuration"
  6. choice
  7. prompt "Target Architecture"
  8. default TARGET_i386
  9. help
  10. Stuff
  11. config TARGET_alpha
  12. bool "alpha"
  13. config TARGET_arm
  14. bool "arm"
  15. config TARGET_bfin
  16. bool "bfin"
  17. config TARGET_cris
  18. bool "cris"
  19. config TARGET_e1
  20. bool "e1"
  21. config TARGET_frv
  22. bool "frv"
  23. config TARGET_h8300
  24. bool "h8300"
  25. config TARGET_i386
  26. bool "i386"
  27. config TARGET_i960
  28. bool "i960"
  29. config TARGET_m68k
  30. bool "m68k"
  31. config TARGET_microblaze
  32. bool "microblaze"
  33. config TARGET_mips
  34. bool "mips"
  35. config TARGET_nios
  36. bool "nios"
  37. config TARGET_nios2
  38. bool "nios2"
  39. config TARGET_powerpc
  40. bool "powerpc"
  41. config TARGET_sh
  42. bool "superh"
  43. config TARGET_sh64
  44. bool "sh64"
  45. config TARGET_sparc
  46. bool "sparc"
  47. config TARGET_v850
  48. bool "v850"
  49. config TARGET_x86_64
  50. bool "x86_64"
  51. endchoice
  52. menu "Target Architecture Features and Options"
  53. if TARGET_alpha
  54. source "extra/Configs/Config.alpha"
  55. endif
  56. if TARGET_arm
  57. source "extra/Configs/Config.arm"
  58. endif
  59. if TARGET_bfin
  60. source "extra/Configs/Config.bfin"
  61. endif
  62. if TARGET_cris
  63. source "extra/Configs/Config.cris"
  64. endif
  65. if TARGET_e1
  66. source "extra/Configs/Config.e1"
  67. endif
  68. if TARGET_frv
  69. source "extra/Configs/Config.frv"
  70. endif
  71. if TARGET_h8300
  72. source "extra/Configs/Config.h8300"
  73. endif
  74. if TARGET_i386
  75. source "extra/Configs/Config.i386"
  76. endif
  77. if TARGET_i960
  78. source "extra/Configs/Config.i960"
  79. endif
  80. if TARGET_m68k
  81. source "extra/Configs/Config.m68k"
  82. endif
  83. if TARGET_nios
  84. source "extra/Configs/Config.nios"
  85. endif
  86. if TARGET_nios2
  87. source "extra/Configs/Config.nios2"
  88. endif
  89. if TARGET_microblaze
  90. source "extra/Configs/Config.microblaze"
  91. endif
  92. if TARGET_mips
  93. source "extra/Configs/Config.mips"
  94. endif
  95. if TARGET_powerpc
  96. source "extra/Configs/Config.powerpc"
  97. endif
  98. if TARGET_sh
  99. source "extra/Configs/Config.sh"
  100. endif
  101. if TARGET_sh64
  102. source "extra/Configs/Config.sh64"
  103. endif
  104. if TARGET_sparc
  105. source "extra/Configs/Config.sparc"
  106. endif
  107. if TARGET_v850
  108. source "extra/Configs/Config.v850"
  109. endif
  110. if TARGET_x86_64
  111. source "extra/Configs/Config.x86_64"
  112. endif
  113. source "extra/Configs/Config.in.arch"
  114. endmenu
  115. menu "General Library Settings"
  116. config HAVE_NO_PIC
  117. bool
  118. default n
  119. config DOPIC
  120. bool "Generate Position Independent Code (PIC)"
  121. default y
  122. depends !HAVE_NO_PIC
  123. help
  124. If you wish to build uClibc with support for shared libraries then
  125. answer Y here. If you only want to build uClibc as a static library,
  126. then answer N.
  127. config HAVE_NO_SHARED
  128. bool
  129. default n
  130. config HAVE_SHARED
  131. bool "Enable support for shared libraries"
  132. depends on DOPIC && !HAVE_NO_SHARED
  133. default y
  134. help
  135. If you wish to build uClibc with support for shared libraries then
  136. answer Y here. If you only want to build uClibc as a static library,
  137. then answer N.
  138. config ARCH_HAS_NO_LDSO
  139. bool
  140. default n
  141. config BUILD_UCLIBC_LDSO
  142. bool "Compile native shared library loader"
  143. depends on HAVE_SHARED && !ARCH_HAS_NO_LDSO
  144. default y
  145. help
  146. uClibc has a native shared library loader for some architectures.
  147. If you answer Y here, the uClibc native shared library loader will
  148. be built for your target architecture. If this option is available,
  149. to you, then you almost certainly want to answer Y.
  150. config FORCE_SHAREABLE_TEXT_SEGMENTS
  151. bool "Only load shared libraries which can share their text segment"
  152. depends on BUILD_UCLIBC_LDSO
  153. default n
  154. help
  155. If you answer Y here, the uClibc native shared library loader will
  156. only load shared libraries, which do not need to modify any non-writable
  157. segments. These libraries haven't set the DT_TEXTREL tag in the dynamic
  158. section (==> objdump). So all your libraries must be compiled with
  159. -fPIC or -fpic, and all assembler function must be written as position
  160. independent code (PIC).
  161. Enabling this option will makes uClibc's shared library loader a
  162. little bit smaller and guarantee that no memory will be wasted by badly
  163. coded shared libraries.
  164. config LDSO_LDD_SUPPORT
  165. bool "Native shared library loader 'ldd' support"
  166. depends on BUILD_UCLIBC_LDSO
  167. default y
  168. help
  169. Enable this to enable all the code needed to support traditional ldd,
  170. which executes the shared library loader to resolve all dependencies
  171. and then provide a list of shared libraries that are required for an
  172. application to function. Disabling this option will makes uClibc's
  173. shared library loader a little bit smaller. Most people will answer Y.
  174. config LDSO_CACHE_SUPPORT
  175. bool "Enable shared library loader cache"
  176. depends on BUILD_UCLIBC_LDSO
  177. default y
  178. help
  179. Enable this to make use of /etc/ld.so.conf, the shared library loader
  180. cache configuration file to support for non-standard library paths.
  181. After updating this file, it is necessary to run 'ldconfig' to update
  182. the /etc/ld.so.cache shared library loader cache file.
  183. config LDSO_PRELOAD_FILE_SUPPORT
  184. bool "Enable shared library loader preload file support"
  185. depends on BUILD_UCLIBC_LDSO
  186. default n
  187. help
  188. Enable this to make use of /etc/ld.so.preload. This file contains a
  189. whitespace separated list of shared libraries to be loaded before
  190. the program.
  191. config LDSO_BASE_FILENAME
  192. string "Shared library loader naming prefix"
  193. depends on LDSO_CACHE_SUPPORT || LDSO_PRELOAD_FILE_SUPPORT
  194. default "ld.so"
  195. help
  196. If you wish to support both uClibc and glibc on the same system, it
  197. is necessary to set this to something other than "ld.so" to avoid
  198. conflicts with glibc, which also uses "ld.so". This prevents both
  199. libraries from using the same /etc/ld.so.* files. If you wish to
  200. support both uClibc and glibc on the same system then you should set
  201. this to "ld-uClibc.so".
  202. Most people will leave this set to the default of "ld.so".
  203. WARNING: Changing the default prefix could cause problems with
  204. binutils' ld !
  205. config UCLIBC_CTOR_DTOR
  206. bool "Support global constructors and destructors"
  207. default y
  208. help
  209. If you wish to build uClibc with support for global constructor
  210. (ctor) and global destructor (dtor) support, then answer Y here.
  211. When ctor/dtor support is enabled, binaries linked with uClibc must
  212. also be linked with crtbegin.o and crtend.o which are provided by gcc
  213. (the "*startfile:" and "*endfile:" settings in your gcc specs file
  214. may need to be adjusted to include these files). This support will
  215. also add a small amount of additional size to each binary compiled vs
  216. uClibc. If you will be using uClibc with C++, or if you need the gcc
  217. __attribute__((constructor)) and __attribute__((destructor)) to work,
  218. then you definitely want to answer Y here. If you don't need ctors
  219. or dtors and want your binaries to be as small as possible, then
  220. answer N.
  221. config HAS_NO_THREADS
  222. bool
  223. default n
  224. config UCLIBC_HAS_THREADS
  225. bool "POSIX Threading Support"
  226. depends on !HAS_NO_THREADS
  227. default y
  228. help
  229. If you want to compile uClibc with pthread support, then answer Y.
  230. This will increase the size of uClibc by adding a bunch of locking
  231. to critical data structures, and adding extra code to ensure that
  232. functions are properly reentrant.
  233. If your applications require pthreads, answer Y.
  234. config PTHREADS_DEBUG_SUPPORT
  235. bool "Build pthreads debugging support"
  236. default n
  237. depends on UCLIBC_HAS_THREADS
  238. help
  239. Say Y here if you wish to be able to debug applications that use
  240. uClibc's pthreads library. By enabling this option, a library
  241. named libthread_db will be built. This library will be dlopen()'d
  242. by gdb and will allow gdb to debug the threads in your application.
  243. IMPORTANT NOTE! Because gdb must dlopen() the libthread_db library,
  244. you must compile gdb with uClibc in order for pthread debugging to
  245. work properly.
  246. If you are doing development and want to debug applications using
  247. uClibc's pthread library, answer Y. Otherwise, answer N.
  248. config UCLIBC_HAS_LFS
  249. bool "Large File Support"
  250. default y
  251. help
  252. If you wish to build uClibc with support for accessing large files
  253. (i.e. files greater then 2 GiB) then answer Y. Do not enable this
  254. if you are using an older Linux kernel (2.0.x) that lacks large file
  255. support. Enabling this option will increase the size of uClibc.
  256. config UCLIBC_STATIC_LDCONFIG
  257. bool "Link ldconfig statically"
  258. default y
  259. help
  260. Enable this option to statically link the ldconfig binary.
  261. Making ldconfig static can be beneficial if you have a library
  262. problem and need to use ldconfig to recover. Sometimes, it is
  263. preferable to instead keep the size of the system down, in which
  264. case you should disable this option.
  265. choice
  266. prompt "Malloc Implementation"
  267. default MALLOC if ! ARCH_HAS_MMU
  268. default MALLOC_STANDARD if ARCH_HAS_MMU
  269. help
  270. "malloc" use mmap for all allocations and so works very well on MMU-less
  271. systems that do not support the brk() system call. It is pretty smart
  272. about reusing already allocated memory, and minimizing memory wastage.
  273. This is the default for uClinux MMU-less systems.
  274. "malloc-simple" was written from scratch for uClibc, and is the
  275. simplest possible (and therefore smallest) malloc implementation.
  276. This uses only the mmap() system call to allocation memory, and does
  277. not use the brk() system call at all, making it a fine choice for
  278. MMU-less systems with very limited memory. It is rather dumb, and
  279. certainly isn't the fastest. But it is 100% standards compliant,
  280. thread safe, and very small.
  281. "malloc-standard" is derived from the public domain dlmalloc
  282. implementation by Doug Lea. It is quite fast, and is pretty smart
  283. about reusing already allocated memory, and minimizing memory
  284. wastage. This uses brk() for small allocations, while using mmap()
  285. for larger allocations. This is the default malloc implementation
  286. for uClibc.
  287. If unsure, answer "malloc-standard".
  288. config MALLOC
  289. bool "malloc"
  290. config MALLOC_SIMPLE
  291. bool "malloc-simple"
  292. config MALLOC_STANDARD
  293. bool "malloc-standard"
  294. depends on ARCH_HAS_MMU
  295. endchoice
  296. config MALLOC_GLIBC_COMPAT
  297. bool "Malloc returns live pointer for malloc(0)"
  298. default n
  299. help
  300. The behavior of malloc(0) is listed as implementation-defined by
  301. SuSv3. Glibc returns a valid pointer to something, while uClibc
  302. normally return a NULL. I personally feel glibc's behavior is
  303. not particularly safe, and allows buggy applications to hide very
  304. serious problems.
  305. When this option is enabled, uClibc will act just like glibc, and
  306. return a live pointer when someone calls malloc(0). This pointer
  307. provides a malloc'ed area with a size of 1 byte. This feature is
  308. mostly useful when dealing with applications using autoconf's broken
  309. AC_FUNC_MALLOC macro (which redefines malloc as rpl_malloc if it
  310. does not detect glibc style returning-a-valid-pointer-for-malloc(0)
  311. behavior). Most people can safely answer N.
  312. config UCLIBC_DYNAMIC_ATEXIT
  313. bool "Dynamic atexit() Support"
  314. default y
  315. help
  316. When this option is enabled, uClibc will support an infinite number,
  317. of atexit() and on_exit() functions, limited only by your available
  318. memory. This can be important when uClibc is used with C++, since
  319. global destructors are implemented via atexit(), and it is quite
  320. possible to exceed the default number when this option is disabled.
  321. Enabling this option adds a few bytes, and more significantly makes
  322. atexit and on_exit depend on malloc, which can be bad when compiling
  323. static executables.
  324. Unless you use uClibc with C++, you should probably answer N.
  325. config HAS_SHADOW
  326. bool "Shadow Password Support"
  327. default y
  328. help
  329. Answer N if you do not need shadow password support.
  330. Most people will answer Y.
  331. config UNIX98PTY_ONLY
  332. bool "Support only Unix 98 PTYs"
  333. default y
  334. help
  335. If you want to support only Unix 98 PTYs enable this. Some older
  336. applications may need this disabled. For most current programs,
  337. you can generally answer Y.
  338. config ASSUME_DEVPTS
  339. bool "Assume that /dev/pts is a devpts or devfs file system"
  340. default y
  341. help
  342. Enable this if /dev/pts is on a devpts or devfs filesystem. Both
  343. these filesystems automatically manage permissions on the /dev/pts
  344. devices. You may need to mount your devpts or devfs filesystem on
  345. /dev/pts for this to work.
  346. Most people should answer Y.
  347. config UCLIBC_HAS_TM_EXTENSIONS
  348. bool "Support 'struct tm' timezone extension fields"
  349. default y
  350. help
  351. Enabling this option adds fields to 'struct tm' in time.h for
  352. tracking the number of seconds east of UTC, and an abbreviation for
  353. the current timezone. These fields are not specified by the SuSv3
  354. standard, but they are commonly used in both GNU and BSD application
  355. code.
  356. To strictly follow the SuSv3 standard, leave this disabled.
  357. Most people will probably want to answer Y.
  358. config UCLIBC_HAS_TZ_CACHING
  359. bool "Enable caching of the last valid timezone 'TZ' string"
  360. default y
  361. help
  362. Answer Y to enable caching of the last valid 'TZ' string describing
  363. the timezone setting. This allows a quick string compare to avoid
  364. repeated parsing of unchanged 'TZ' strings when tzset() is called.
  365. Most people will answer Y.
  366. config UCLIBC_HAS_TZ_FILE
  367. bool "Enable '/etc/TZ' file support to set a default timezone (uClibc-specific)"
  368. default y
  369. help
  370. Answer Y to enable the setting of a default timezone for uClibc.
  371. Ordinarily, uClibc gets the timezone information exclusively from the
  372. 'TZ' environment variable. In particular, there is no support for
  373. the zoneinfo directory tree or the /etc/timezone file used by glibc.
  374. With this option enabled, uClibc will use the value stored in the
  375. file '/etc/TZ' (default path) to obtain timezone information if the
  376. 'TZ' environment variable is missing or has an invalid value. The
  377. file consists of a single line (newline required) of text describing
  378. the timezone in the format specified for the TZ environment variable.
  379. Simply doing 'echo CST6CDT > /etc/TZ' is enough to create a valid file.
  380. See
  381. http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
  382. for details on valid settings of 'TZ'.
  383. Most people will answer Y.
  384. config UCLIBC_HAS_TZ_FILE_READ_MANY
  385. bool "Repeatedly read the '/etc/TZ' file"
  386. depends on UCLIBC_HAS_TZ_FILE
  387. default y
  388. help
  389. Answer Y to enable repeated reading of the '/etc/TZ' file even after
  390. a valid value has been read. This incurs the overhead of an open/read/close
  391. for each tzset() call (explicit or implied). However, setting this
  392. will allows applications to update their timezone information if the contents
  393. of the file change.
  394. Most people will answer Y.
  395. config UCLIBC_TZ_FILE_PATH
  396. string "Path to the 'TZ' file for setting the global timezone"
  397. depends on UCLIBC_HAS_TZ_FILE
  398. default "/etc/TZ"
  399. help
  400. This is the path to the 'TZ' file.
  401. Most people will use the default of '/etc/TZ'.
  402. endmenu
  403. menu "Networking Support"
  404. config UCLIBC_HAS_IPV6
  405. bool "IP version 6 Support"
  406. default n
  407. help
  408. If you want to include support for the next version of the Internet
  409. Protocol (IP version 6) then answer Y.
  410. Most people should answer N.
  411. config UCLIBC_HAS_RPC
  412. bool "Remote Procedure Call (RPC) support"
  413. default n
  414. help
  415. If you want to include RPC support, enable this. RPC is rarely used
  416. for anything except for the NFS filesystem. Unless you plan to use NFS,
  417. you can probably leave this set to N and save some space. If you need
  418. to use NFS then you should answer Y.
  419. config UCLIBC_HAS_FULL_RPC
  420. bool "Full RPC support"
  421. depends on UCLIBC_HAS_RPC
  422. default y if !HAVE_SHARED
  423. help
  424. Normally we enable just enough RPC support for things like rshd and
  425. nfs mounts to work. If you find you need the rest of the RPC stuff,
  426. then enable this option. Most people can safely answer N.
  427. endmenu
  428. menu "String and Stdio Support"
  429. config UCLIBC_HAS_STRING_GENERIC_OPT
  430. bool "Use glibc generic string functions"
  431. default y
  432. help
  433. Answer Y to use the (tweaked) glibc generic string functions.
  434. In general, they are faster (but 3-5K larger) than the base
  435. uClibc string functions which are optimized solely for size.
  436. Many people will answer Y.
  437. config UCLIBC_HAS_STRING_ARCH_OPT
  438. bool "Use arch-specific string functions"
  439. default y
  440. help
  441. Answer Y to use the arch-specific string functions instead of the
  442. base uClibc versions, which are optimized exclusively for size.
  443. Most people will answer Y, as this has been default behavior
  444. for some time.
  445. config UCLIBC_HAS_CTYPE_TABLES
  446. bool "Use Table Versions Of 'ctype.h' Functions."
  447. default y
  448. help
  449. Answer Y to use table versions of the 'ctype.h' functions.
  450. While the non-table versions are often smaller when building
  451. staticly linked apps, they work only in stub locale mode.
  452. Most people will answer Y.
  453. config UCLIBC_HAS_CTYPE_SIGNED
  454. bool "Support Signed Characters In 'ctype.h' Functions."
  455. depends UCLIBC_HAS_CTYPE_TABLES
  456. default y
  457. help
  458. Answer Y to enable support for passing signed char values to
  459. the 'ctype.h' functions. ANSI/ISO C99 and SUSv3 specify that
  460. these functions are only defined for unsigned char values and
  461. EOF. However, glibc allows negative signed char values as well
  462. in order to support 'broken old programs'.
  463. Most people will answer Y.
  464. choice
  465. prompt "ctype argument checking"
  466. depends UCLIBC_HAS_CTYPE_TABLES
  467. default UCLIBC_HAS_CTYPE_UNSAFE
  468. help
  469. Please select the invalid arg behavior you want for the 'ctype' functions.
  470. The 'ctype' functions are now implemented using table lookups, with
  471. the arg being the index. This can result in incorrect memory accesses
  472. or even segfaults for args outside of the allowed range.
  473. NOTE: This only affects the 'ctype' _functions_. It does not affect
  474. the macro implementations.
  475. config UCLIBC_HAS_CTYPE_UNSAFE
  476. bool "Do not check -- unsafe"
  477. config UCLIBC_HAS_CTYPE_CHECKED
  478. bool "Detect and handle appropriately"
  479. config UCLIBC_HAS_CTYPE_ENFORCED
  480. bool "Issue a diagnostic and abort()"
  481. endchoice
  482. config UCLIBC_HAS_WCHAR
  483. bool "Wide Character Support"
  484. default n
  485. help
  486. Answer Y to enable wide character support. This will make uClibc
  487. much larger. It is also currently required for locale support.
  488. Most people will answer N.
  489. config UCLIBC_HAS_LOCALE
  490. bool "Locale Support"
  491. select UCLIBC_HAS_WCHAR
  492. select UCLIBC_HAS_CTYPE_TABLES
  493. default n
  494. help
  495. uClibc now has full ANSI/ISO C99 locale support (except for
  496. wcsftime() and collating items in regex). Be aware that enabling
  497. this option will make uClibc much larger.
  498. Enabling UCLIBC_HAS_LOCALE with the default set of supported locales
  499. (169 UTF-8 locales, and 144 locales for other codesets) will enlarge
  500. uClibc by around 300k. You can reduce this size by building your own
  501. custom set of locate data (see extra/locale/LOCALES for details).
  502. uClibc's locale support is still under development. For example,
  503. codesets using shift states are not currently supported. Support is
  504. planned in the next iteration of locale support.
  505. Answer Y to enable locale support. Most people will answer N.
  506. config UCLIBC_PREGENERATED_LOCALE_DATA
  507. bool "Use Pre-generated Locale Data"
  508. depends on UCLIBC_HAS_LOCALE
  509. default n
  510. help
  511. If you are selective and only want locale data for a few particular
  512. locales, or you enjoy pain, or you are a rabid do-it-yourself sort of
  513. person, you can turn this option off and manually walk through the
  514. mostly undocumented procedure needed to generate your own locale
  515. data.
  516. Mere mortals will answer Y and use the default set of pregenerated
  517. locale data, which supports 169 UTF-8 locales, and 144 locales for
  518. other codesets (for the complete list see extra/locale/LOCALES).
  519. config UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA
  520. bool "Automagically Download the Pre-generated Locale Data (if necessary)"
  521. depends on UCLIBC_PREGENERATED_LOCALE_DATA
  522. default n
  523. help
  524. If you would like the build process to use 'wget' to automatically
  525. download the pregenerated locale data, enable this option. Otherwise
  526. you will need to obtain the locale data yourself from:
  527. http://www.uclibc.org/downloads/uClibc-locale-030818.tgz
  528. and place the uClibc-locale-030818.tgz tarball in the extra/locale/
  529. directory.
  530. Go ahead and make life easy for yourself... Answer Y.
  531. config UCLIBC_HAS_XLOCALE
  532. bool "Extended Locale Support (experimental/incomplete)"
  533. depends on UCLIBC_HAS_LOCALE
  534. default n
  535. help
  536. Answer Y to enable extended locale support similar to that provided
  537. by glibc. This is primarily intended to support libstd++ functionality.
  538. However, it also allows thread-specific locale selection via uselocale().
  539. Most people will answer N.
  540. config UCLIBC_HAS_HEXADECIMAL_FLOATS
  541. bool "Support hexadecimal float notation"
  542. depends UCLIBC_HAS_CTYPE_TABLES
  543. depends on UCLIBC_HAS_FLOATS
  544. default n
  545. help
  546. Answer Y to enable support for hexadecimal float notation in the
  547. (wchar and) char string to floating point conversion functions, as
  548. well as support for the %a and %A conversion specifiers in the
  549. *printf() and *scanf() functions.
  550. Most people will answer N.
  551. config UCLIBC_HAS_GLIBC_DIGIT_GROUPING
  552. bool "Support glibc's \"'\" flag for allowing locale-specific digit grouping"
  553. depends on UCLIBC_HAS_LOCALE
  554. depends on UCLIBC_HAS_FLOATS
  555. default n
  556. help
  557. Answer Y to enable support for glibc's \"'\" flag for allowing locale-specific
  558. digit grouping in base 10 integer conversions and appropriate floating point
  559. conversions in the *printf() and *scanf() functions.
  560. Most people will answer N.
  561. config UCLIBC_HAS_SCANF_LENIENT_DIGIT_GROUPING
  562. bool "Do not require digit grouping when the \"'\" flag is specified"
  563. depends on UCLIBC_HAS_GLIBC_DIGIT_GROUPING
  564. default y
  565. help
  566. Answer Y to make digit grouping optional when the \"'\" flag is specified.
  567. This is the standard glibc behavior. If the initial string of digits
  568. exceeds the maximum group number, the input will be treated as a normal
  569. non-grouped number.
  570. Most people will answer N.
  571. config UCLIBC_HAS_GLIBC_CUSTOM_PRINTF
  572. bool "Support glibc's register_printf_function() (glibc-compat)"
  573. depends on !USE_OLD_VFPRINTF
  574. default n
  575. help
  576. Answer Y to support glibc's register_printf_function() to allow an
  577. application to add its own printf conversion specifiers.
  578. NOTE: This implementation limits the number or registered specifiers to 10.
  579. NOTE: This implementation requires new conversion specifiers to be ASCII
  580. characters (0-0x7f). This is to avoid problems with processing
  581. format strings in locales with different multibyte conversions.
  582. Most people will answer N.
  583. config USE_OLD_VFPRINTF
  584. bool "Use the old vfprintf implementation"
  585. depends on !UCLIBC_HAS_WCHAR
  586. default n
  587. help
  588. Set to true to use the old vfprintf instead of the new. This is roughly
  589. C89 compliant with some extensions, and is much smaller. However, it does
  590. not support wide chars, positional args, or glibc custom printf specifiers.
  591. Most people will answer N.
  592. config UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS
  593. int "Maximum number of positional args. Either 0 or >= 9."
  594. depends on !USE_OLD_VFPRINTF
  595. default 9
  596. help
  597. Set the maximum number of positional args supported by the printf/scanf
  598. functions. The Single Unix Specification Version 3 requires a minimum
  599. value of 9. Setting this to a value lower than 9 will disable positional
  600. arg support and cause the NL_ARGMAX macro in limits.h to be #undef'd.
  601. WARNING! The workspace to support positional args is currently allocated
  602. on the stack. You probably don't want to set this to too high a value.
  603. Most people will answer 9.
  604. config UCLIBC_HAS_SCANF_GLIBC_A_FLAG
  605. bool "Support glibc's 'a' flag for scanf string conversions"
  606. default n
  607. help
  608. NOTE!!! Currently Not Implemented!!! Just A Place Holder!! NOTE!!!
  609. Answer Y to enable support for glibc's 'a' flag for the scanf string
  610. conversions '%s', '%[', '%ls', '%l[', and '%S'. This is used to
  611. auto-allocate sufficient memory to hold the data retrieved.
  612. Most people will answer N.
  613. choice
  614. prompt "Stdio buffer size"
  615. default UCLIBC_HAS_STDIO_BUFSIZ_4096
  616. help
  617. Please select a value for BUFSIZ. This will be used by the
  618. stdio subsystem as the default buffer size for a file, and
  619. affects fopen(), setvbuf(), etc.
  620. NOTE: Setting this to 'none' will disable buffering completely.
  621. However, BUFSIZ will still be defined in stdio.h as 256 because
  622. many applications use this value.
  623. config UCLIBC_HAS_STDIO_BUFSIZ_NONE
  624. bool "none (WARNING - BUFSIZ will be 256 in stdio.h)"
  625. depends !UCLIBC_HAS_WCHAR
  626. config UCLIBC_HAS_STDIO_BUFSIZ_256
  627. bool "256 (minimum ANSI/ISO C99 value)"
  628. config UCLIBC_HAS_STDIO_BUFSIZ_512
  629. bool "512"
  630. config UCLIBC_HAS_STDIO_BUFSIZ_1024
  631. bool "1024"
  632. config UCLIBC_HAS_STDIO_BUFSIZ_2048
  633. bool "2048"
  634. config UCLIBC_HAS_STDIO_BUFSIZ_4096
  635. bool "4096"
  636. config UCLIBC_HAS_STDIO_BUFSIZ_8192
  637. bool "8192"
  638. # If you add more choices, you will need to update uClibc_stdio.h.
  639. endchoice
  640. choice
  641. prompt "Stdio builtin buffer size (uClibc-specific)"
  642. depends !UCLIBC_HAS_STDIO_BUFSIZ_NONE
  643. default UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE
  644. help
  645. When a FILE is created with fopen(), an attempt is made to allocate
  646. a BUFSIZ buffer for it. If the allocation fails, fopen() will still
  647. succeed but the FILE will be unbuffered.
  648. This option adds a small amount of space to each FILE to act as an
  649. emergency buffer in the event of a buffer allocation failure.
  650. Most people will answer None.
  651. config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE
  652. bool "None"
  653. config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4
  654. bool "4"
  655. config UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8
  656. bool "8"
  657. # If you add more choices, you will need to update uClibc_stdio.h.
  658. endchoice
  659. config UCLIBC_HAS_STDIO_GETC_MACRO
  660. bool "Provide a macro version of getc()"
  661. depends !UCLIBC_HAS_STDIO_BUFSIZ_NONE
  662. default y
  663. help
  664. Provide a macro version of getc().
  665. Most people will answer Y.
  666. config UCLIBC_HAS_STDIO_PUTC_MACRO
  667. bool "Provide a macro version of putc()"
  668. depends !UCLIBC_HAS_STDIO_BUFSIZ_NONE
  669. default y
  670. help
  671. Provide a macro version of putc().
  672. Most people will answer Y.
  673. config UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION
  674. bool "Support auto-r/w transition"
  675. default y
  676. help
  677. Answer Y to enable the stdio subsystem to automaticly transition
  678. between reading and writing. This relaxes the ANSI/ISO C99 requirement:
  679. When a file is opened with update mode ('+' as the second or third character
  680. in the list of mode argument values), both input and output may be performed
  681. on the associated stream. However, output shall not be directly followed by
  682. input without an intervening call to the fflush function or to a file
  683. positioning function (fseek, fsetpos, or rewind), and input shall not be
  684. directly followed by output without an intervening call to a file positioning
  685. function, unless the input operation encounters end­of­file.
  686. Most people will answer Y.
  687. config UCLIBC_HAS_FOPEN_LARGEFILE_MODE
  688. bool "Support an fopen() 'F' flag for large file mode (uClibc-specific)"
  689. depends on UCLIBC_HAS_LFS
  690. default n
  691. help
  692. Answer Y to enable a uClibc-specific extension to allow passing an
  693. additional 'F' flag in the mode string for fopen() to specify that
  694. the file should be open()ed with the O_LARGEFILE flag set.
  695. Most people will answer N.
  696. config UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE
  697. bool "Support an fopen() 'x' flag for exclusive mode (glibc-compat)"
  698. default n
  699. help
  700. Answer Y to support a glibc extension to allow passing
  701. additional 'x' flag in the mode string for fopen() to specify that
  702. the file should be open()ed with the O_EXCL flag set.
  703. Most people will answer N.
  704. config UCLIBC_HAS_GLIBC_CUSTOM_STREAMS
  705. bool "Support fmemopen(), open_memstream(), and fopencookie() (glibc-compat)"
  706. default n
  707. help
  708. Answer Y to support the glibc 'custom stream' extension functions
  709. fmemopen(), open_memstream(), and fopencookie().
  710. NOTE: There are some minor differences regarding seeking behavior.
  711. Most people will answer N.
  712. config UCLIBC_HAS_PRINTF_M_SPEC
  713. bool "Support the '%m' specifier in printf format strings (glibc-compat)"
  714. default n
  715. help
  716. Answer Y to support a glibc extension to interpret '%m' in printf
  717. format strings as an instruction to output the error message string
  718. (as generated by strerror) corresponding to the current value of 'errno'.
  719. Most people will answer N.
  720. config UCLIBC_HAS_ERRNO_MESSAGES
  721. bool "Include the errno message text in the library"
  722. default y
  723. help
  724. Answer Y if you want to include the errno message text in the
  725. library. This adds about 3K to the library, but enables strerror()
  726. to generate text other than 'Unknown error <number>'.
  727. Most people will answer Y.
  728. config UCLIBC_HAS_SYS_ERRLIST
  729. bool "Support sys_errlist[] (obsolete-compat)"
  730. depends on UCLIBC_HAS_ERRNO_MESSAGES
  731. default n
  732. help
  733. Answer Y if you want to support the obsolete sys_errlist[].
  734. This adds about 0.5k to the library, except for the mips
  735. arch where it adds over 4K.
  736. WARNING! In the future, support for sys_errlist[] may be unavailable
  737. in at least some configurations. In fact, it may be removed altogether.
  738. Most people will answer N.
  739. config UCLIBC_HAS_SIGNUM_MESSAGES
  740. bool "Include the signum message text in the library"
  741. default y
  742. help
  743. Answer Y if you want to include the signum message text in the
  744. library. This adds about 0.5K to the library, but enables strsignal()
  745. to generate text other than 'Unknown signal <number>'.
  746. Most people will answer Y.
  747. config UCLIBC_HAS_SYS_SIGLIST
  748. bool "Support sys_siglist[] (bsd-compat)"
  749. depends on UCLIBC_HAS_SIGNUM_MESSAGES
  750. default n
  751. help
  752. Answer Y if you want to support sys_siglist[].
  753. WARNING! In the future, support for sys_siglist[] may be unavailable
  754. in at least some configurations. In fact, it may be removed altogether.
  755. Most people will answer N.
  756. config UCLIBC_HAS_GETTEXT_AWARENESS
  757. bool "Include gettext awareness"
  758. depends on UCLIBC_HAS_LOCALE && UCLIBC_MJN3_ONLY
  759. default n
  760. help
  761. NOTE!!! Not yet integrated with strerror and strsignal. NOTE!!!
  762. Answer Y if you want to include weak stub gettext support and
  763. make the *strerror*() and strsignal() functions gettext-aware.
  764. Currently, to get functional gettext functionality you will need
  765. to use gnu gettext.
  766. Most people will answer N.
  767. config UCLIBC_HAS_GNU_GETOPT
  768. bool "Support gnu getopt"
  769. default y
  770. help
  771. Answer Y if you want to include full gnu getopt() instead of a
  772. (much smaller) SUSv3 compatible getopt().
  773. Most people will answer Y.
  774. endmenu
  775. menu "Big and Tall"
  776. config UCLIBC_HAS_REGEX
  777. bool "Regular Expression Support"
  778. default y
  779. help
  780. POSIX regular expression code is really big -- 27k all by itself.
  781. If you don't use regular expressions, turn this off and save space.
  782. Of course, if you only staticly link, leave this on, since it will
  783. only be included in your apps if you use regular expressions.
  784. config UCLIBC_HAS_WORDEXP
  785. bool "Support the wordexp() interface"
  786. default n
  787. help
  788. The SuSv3 wordexp() interface performs word expansions per the Shell
  789. and Utilities volume of IEEE Std 1003.1-2001, Section 2.6. It is
  790. intended for use by applications that want to implement all of the
  791. standard Bourne shell expansions on input data.
  792. This interface is rarely used, and very large. Unless you have a
  793. pressing need for wordexp(), you should probably answer N.
  794. config UCLIBC_HAS_FTW
  795. bool "Support the ftw() and nftw() interfaces"
  796. default n
  797. help
  798. The SuSv3 ftw() and nftw() interfaces are used to recursively descend
  799. directory paths while repeatedly calling a function.
  800. This interface is rarely used, and adds around 4.5k. Unless you have
  801. a pressing need for ftw() or nftw(), you should probably answer N.
  802. config UCLIBC_HAS_GLOB
  803. bool "Support the glob() interface"
  804. default y
  805. help
  806. The glob interface is somewhat large (weighing in at about 4k). It
  807. is used fairly often, but is an option since people wanting to go for
  808. absolute minimum size may wish to omit it.
  809. Most people will answer Y.
  810. endmenu
  811. menu "Library Installation Options"
  812. config SHARED_LIB_LOADER_PREFIX
  813. string "Shared library loader path"
  814. depends on BUILD_UCLIBC_LDSO
  815. default "$(DEVEL_PREFIX)/lib"
  816. help
  817. When using shared libraries, this path is the location where the
  818. shared library will be invoked. This value will be compiled into
  819. every binary compiled with uClibc.
  820. For a typical target system this should be set to "/lib", such that
  821. 'make install' will install /lib/ld-uClibc.so.0.
  822. BIG FAT WARNING:
  823. If you do not have a shared library loader with the correct name
  824. sitting in the directory this points to, your binaries will not
  825. run.
  826. config SYSTEM_LDSO
  827. string "System shared library loader"
  828. depends on HAVE_SHARED && !BUILD_UCLIBC_LDSO
  829. default "/lib/ld-linux.so.2"
  830. help
  831. If you are using shared libraries, but do not want/have a native
  832. uClibc shared library loader, please specify the name of your
  833. target system's shared library loader here...
  834. BIG FAT WARNING:
  835. If you do not have a shared library loader with the correct name
  836. sitting in the directory this points to, your binaries will not
  837. run.
  838. config RUNTIME_PREFIX
  839. string "uClibc runtime library directory"
  840. default "/usr/$(TARGET_ARCH)-linux-uclibc/"
  841. help
  842. RUNTIME_PREFIX is the directory into which the uClibc runtime
  843. libraries will be installed. The result will look something
  844. like the following:
  845. $(RUNTIME_PREFIX)/
  846. lib/ <contains all runtime libraries>
  847. usr/bin/ldd <the ldd utility program>
  848. sbin/ldconfig <the ldconfig utility program>
  849. This value is used by the 'make install' Makefile target. Since this
  850. directory is compiled into the shared library loader, you will need to
  851. recompile uClibc if you change this value...
  852. For a typical target system this should be set to "/", such that
  853. 'make install' will install /lib/libuClibc-<VERSION>.so
  854. config DEVEL_PREFIX
  855. string "uClibc development environment directory"
  856. default "/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
  857. help
  858. DEVEL_PREFIX is the directory into which the uClibc development
  859. environment will be installed. The result will look something
  860. like the following:
  861. $(DEVEL_PREFIX)/
  862. lib/ <contains static libs>
  863. include/ <Where all the header files go>
  864. This value is used by the 'make install' Makefile target when
  865. installing a uClibc development environment.
  866. For a typical target system this should be set to "/usr", such that
  867. 'make install' will install /usr/include/<header files>.
  868. endmenu
  869. menu "uClibc security related options"
  870. config UCLIBC_SECURITY
  871. bool "Enable security options"
  872. default n
  873. config UCLIBC_BUILD_PIE
  874. bool "Build utilities as ET_DYN/PIE executables"
  875. depends on UCLIBC_SECURITY
  876. depends on HAVE_SHARED
  877. depends on TARGET_arm || TARGET_frv || TARGET_i386 || TARGET_mips || TARGET_powerpc
  878. select FORCE_SHAREABLE_TEXT_SEGMENTS if BUILD_UCLIBC_LDSO
  879. default y
  880. help
  881. If you answer Y here, ldd and iconv are built as ET_DYN/PIE executables.
  882. It requires gcc-3.4 and binutils-2.15 (for arm 2.16) or later.
  883. More about ET_DYN/PIE binaries on <http://pax.grsecurity.net/> .
  884. WARNING: This option also enables FORCE_SHAREABLE_TEXT_SEGMENTS, so all
  885. libraries have to be built with -fPIC or -fpic, and all assembler
  886. functions must be written as position independent code (PIC).
  887. config UCLIBC_HAS_SSP
  888. bool "Support for propolice smashing stack protector"
  889. depends on UCLIBC_SECURITY
  890. default n
  891. help
  892. Add propolice smashing stack protector to the library.
  893. This requires a patched version of GCC, supporting the
  894. -fstack-protector[-all] options, with the __guard and
  895. __stack_smash_handler functions removed from libgcc.
  896. These functions are added to libc instead.
  897. More information at:
  898. <http://www.research.ibm.com/trl/projects/security/ssp/>
  899. Most people will answer N.
  900. config SSP_QUICK_CANARY
  901. bool "Use simple guard values without accessing /dev/urandom"
  902. depends on UCLIBC_HAS_SSP
  903. default n
  904. help
  905. Use gettimeofday(2) to define the __guard without accessing
  906. /dev/urandom.
  907. WARNING: This makes smashing stack protector vulnerable to timing
  908. attacks.
  909. Most people will answer N.
  910. config SSP_USE_ERANDOM
  911. bool "Use erandom for setting guard value if /dev/urandom fails"
  912. depends on UCLIBC_HAS_SSP && !SSP_QUICK_CANARY
  913. default n
  914. help
  915. Use /dev/erandom to define the guard if /dev/urandom fails (chroot).
  916. This requires a modified kernel.
  917. More information at:
  918. <http://frandom.sourceforge.net/>
  919. Most people will answer N.
  920. choice
  921. prompt "Propolice protection blocking signal"
  922. depends on UCLIBC_HAS_SSP
  923. default PROPOLICE_BLOCK_ABRT if ! DODEBUG
  924. default PROPOLICE_BLOCK_SEGV if DODEBUG
  925. help
  926. "abort" use SIGABRT to block offending programs.
  927. This is the default implementation.
  928. "segfault" use SIGSEGV to block offending programs.
  929. Use this for debugging.
  930. "kill" use SIGKILL to block offending programs.
  931. Perhaps the best for security.
  932. If unsure, answer "abort".
  933. config PROPOLICE_BLOCK_ABRT
  934. bool "abort"
  935. config PROPOLICE_BLOCK_SEGV
  936. bool "segfault"
  937. config PROPOLICE_BLOCK_KILL
  938. bool "kill"
  939. endchoice
  940. config UCLIBC_BUILD_SSP
  941. bool "Build uClibc with propolice protection"
  942. depends on UCLIBC_HAS_SSP
  943. default n
  944. help
  945. Build all libraries and executables with propolice protection enabled.
  946. config UCLIBC_BUILD_RELRO
  947. bool "Build uClibc with RELRO"
  948. depends on UCLIBC_SECURITY
  949. depends on BUILD_UCLIBC_LDSO
  950. default y
  951. help
  952. Build all libraries and executables with -z relro.
  953. config UCLIBC_BUILD_NOW
  954. bool "Build uClibc with NOW"
  955. depends on UCLIBC_SECURITY
  956. depends on BUILD_UCLIBC_LDSO
  957. default y
  958. help
  959. Build all libraries and executables with -z now.
  960. config UCLIBC_BUILD_NOEXECSTACK
  961. bool "Build uClibc with noexecstack marking"
  962. depends on UCLIBC_SECURITY
  963. default y
  964. help
  965. Mark all assembler files as noexecstack. This will result in marking
  966. all libraries and executables built against uClibc not requiring
  967. executable stack.
  968. endmenu
  969. menu "uClibc development/debugging options"
  970. config CROSS_COMPILER_PREFIX
  971. string "Cross-compiling toolchain prefix"
  972. default ""
  973. help
  974. The prefix used to execute your cross-compiling toolchain. For
  975. example, if you run 'arm-linux-uclibc-gcc' to compile something,
  976. then enter 'arm-linux-uclibc-' here.
  977. config DODEBUG
  978. bool "Build uClibc with debugging symbols"
  979. select PTHREADS_DEBUG_SUPPORT if UCLIBC_HAS_THREADS
  980. default n
  981. help
  982. Say Y here if you wish to compile uClibc with debugging symbols.
  983. This will allow you to use a debugger to examine uClibc internals
  984. while applications are running. This increases the size of the
  985. library considerably and should only be used when doing development.
  986. If you are doing development and want to debug uClibc, answer Y.
  987. Otherwise, answer N.
  988. config DOASSERTS
  989. bool "Build uClibc with run-time assertion testing"
  990. default n
  991. help
  992. Say Y here to include runtime assertion tests.
  993. This enables runtime assertion testing in some code, which can
  994. increase the size of the library and incur runtime overhead.
  995. If you say N, then this testing will be disabled.
  996. config SUPPORT_LD_DEBUG
  997. bool "Build the shared library loader with debugging support"
  998. depends on BUILD_UCLIBC_LDSO
  999. default n
  1000. help
  1001. Answer Y here to enable all the extra code needed to debug the uClibc
  1002. native shared library loader. The level of debugging noise that is
  1003. generated depends on the LD_DEBUG environment variable... Just set
  1004. LD_DEBUG to something like: 'LD_DEBUG=token1,token2,.. prog' to
  1005. debug your application. Diagnostic messages will then be printed to
  1006. the stderr.
  1007. For now these debugging tokens are available:
  1008. detail provide more information for some options
  1009. move display copy processing
  1010. symbols display symbol table processing
  1011. reloc display relocation processing; detail shows the relocation patch
  1012. nofixups never fixes up jump relocations
  1013. bindings displays the resolve processing (function calls); detail shows the relocation patch
  1014. all Enable everything!
  1015. The additional environment variable:
  1016. LD_DEBUG_OUTPUT=file
  1017. redirects the diagnostics to an output file created using
  1018. the specified name and the process id as a suffix.
  1019. An excellent start is simply:
  1020. $ LD_DEBUG=binding,move,symbols,reloc,detail ./appname
  1021. or to log everything to a file named 'logfile', try this
  1022. $ LD_DEBUG=all LD_DEBUG_OUTPUT=logfile ./appname
  1023. If you are doing development and want to debug uClibc's shared library
  1024. loader, answer Y. Mere mortals answer N.
  1025. config SUPPORT_LD_DEBUG_EARLY
  1026. bool "Build the shared library loader with early debugging support"
  1027. depends on BUILD_UCLIBC_LDSO
  1028. default n
  1029. help
  1030. Answer Y here to if you find the uClibc shared library loader is
  1031. crashing or otherwise not working very early on. This is typical
  1032. only when starting a new port when you haven't figured out how to
  1033. properly get the values for argc, argv, environ, etc. This method
  1034. allows a degree of visibility into the very early shared library
  1035. loader initialization process. If you are doing development and want
  1036. to debug the uClibc shared library loader early initialization,
  1037. answer Y. Mere mortals answer N.
  1038. config UCLIBC_MALLOC_DEBUGGING
  1039. bool "Build malloc with debugging support"
  1040. depends MALLOC
  1041. default n
  1042. help
  1043. Answer Y here to compile extra debugging support code into malloc.
  1044. Malloc debugging output may then be enabled at runtime using the
  1045. MALLOC_DEBUG environment variable.
  1046. The value of MALLOC_DEBUG should be an integer, which is interpreted as
  1047. a bitmask with the following bits:
  1048. 1 - do extra consistency checking
  1049. 2 - output messages for malloc/free calls and OS allocation calls
  1050. 4 - output messages for the `MMB' layer
  1051. 8 - output messages for internal malloc heap manipulation calls
  1052. Because this increases the size of malloc appreciably (due to strings
  1053. etc), you should say N unless you need to debug a malloc problem.
  1054. config WARNINGS
  1055. string "Compiler Warnings"
  1056. default "-Wall"
  1057. help
  1058. Set this to the set of gcc warnings you wish to see while compiling.
  1059. config UCLIBC_MJN3_ONLY
  1060. bool "Manuel's hidden warnings"
  1061. default n
  1062. help
  1063. Answer Y here to see all Manuel's personal notes, warnings, and todos.
  1064. Most people will answer N.
  1065. endmenu