Installing and building db.* for uCLinux ======================================== db.* requires that libc provide wide char support. Hereafter, refers to root directory where you have uclinux installed. 1) cd to your uCLinux directory and create dbstar directory # cd # mkdir lib/dbstar 2) unpack db.* distribution into /lib/dbstar # (cd lib/dbstar && tar zxf ) 2) apply a patch to intergrate db.* into the uCLinux build procedure # patch -p1 lib/dbstar/db.uclinux/uclinux.patch 3) configure uCLinux as usual, and put the necessary marks into db.* configuration options. # make menuconfig 4) build uCLinux, db.* will be build as part of it. # make What does uclinux.patch do ========================== To intergrate db.* support into uCLinux, the following files are changed: /config/config.in: create db.* specific section with compilation options /lib/Makefile: include db.* directory to be built and resulting libraries to be linked into /lib /user/Makefile: include db.* directory to allow db.* tools to be built /vendors/config/common/config.arch define make variable $(LIBDBSTAR) to use in your applications