1
0

customize-libc-config.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. // -*- mode:doc; -*-
  2. // vim: set syntax=asciidoc:
  3. [[libc-custom]]
  4. Customizing the libc configuration
  5. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. Just like xref:busybox-custom[BusyBox] http://www.uclibc-ng.org/[uClibc-ng]
  7. offering a lot of configuration options. They allow you to select
  8. various functionalities depending on your needs and limitations.
  9. OpenADK chooses automatically the best configuration regarding
  10. resulting code size, standard conformance, portability and GNU
  11. libc compatibility.
  12. If you still have the requirements to change the default, regenerate
  13. a new uClibc-ng config from the existing one:
  14. ----------------
  15. $ tar xvf dl/uClibc-ng-x.y.z.tar.xz
  16. $ cd uClibc-ng-x.y.z
  17. $ cp ../target/<arch>/uclibc-ng.config .config
  18. $ make menuconfig
  19. ----------------
  20. Make all required changes. Then copy the newly created uClibc-ng configuration back
  21. and rebuild your targetsystem, including the toolchain components:
  22. ----------------
  23. $ cp .config ../target/<arch>/uclibc-ng.config
  24. $ cd .. && make cleandir && make
  25. ----------------
  26. There are no customization options for GNU libc or musl available.