Installing uClibc-0.9.28 to your rootfs(arm) (2011-07-26 08:59)

 
 

安装uclibc库

     #
     # Configure uClibc.
     #
     try cp uclibc.config .config
     echo Configuring ${UCLIBC}... 

     make oldconfig     
     echo Building ...
     try CROSS=arm-linux- \
         CC=arm-linux-gcc \
         BASEDIR=${BASEDIR} \
        make
    echo Installing ...

    try make PREFIX=${dir} install #安装所有uclibc到根文件系统/lib下
    try rm -Rf ${dir}/include  #不需要头文件,删
    try cp -dpR /usr/local/arm/3.4/lib/libgcc_s* ${dir}/lib
    try cp -dpR /usr/local/arm/3.4/lib/libstdc++.so* ${dir}/lib
    try arm-linux-strip ${dir}/lib/libstdc++.so.6.0.3 #Removes symbols and sections from files

你可能感兴趣的:(Installing uClibc-0.9.28 to your rootfs(arm) (2011-07-26 08:59))