Config.in 42 KB

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