4 ln -s ./extra/Configs/Config.<arch> ./Config
6 Then edit ./Config for your setup. In particular, modify CROSS and
7 KERNEL_SOURCE as necessary. You may also want to modify
8 SHARED_LIB_LOADER_PATH, DEVEL_PREFIX, and SYSTEM_DEVEL_PREFIX depending
9 on where you want to install the development environment. By default,
10 the development environment is installed into /usr/<arch>-linux-uclibc/.
18 * Installing the development environment:
20 (As root, if necessary,)
24 This will install the header files, libraries, and the gcc
25 wrapper into the directories defined in Config.
28 * Installing the target runtime environment:
30 (As root, if necessary,)
32 make PREFIX=<temporary path> install_target
34 This installs only the files that are necessary to run binaries
35 compiled against uClibc. Hint: You probably do not want to install
36 the target runtime environment on your host machine.
41 To compile programs with uClibc,
43 export PATH={uClibc DEVEL_PREFIX}/bin:$PATH
45 and then just ./configure and make as usual.
49 You may also want to look at extra/gcc-uclibc/gcc-uclibc.c for
50 additional information concerning what options and environment
51 variables the gcc wrapper handles.