热度 24
2012-4-4 12:06
1605 次阅读|
0 个评论
DirectVNC 的移植会涉及到很多库文件,比如zlib,glib,jpglib,pnglib,free_type zlib配置 export LDFLAGS="-L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/var/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/lib -L/usr/local/arm/4.3.3/lib" export CFLAGS="-g -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/include -I/usr/local/arm/4.3.3//arm-none-linux-gnueabi/libc/armv4t/usr/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/install-tools/include" ./configure --prefix=/home/parson/project/podium/zlib-1.2.3/__install glib配置 export LDFLAGS="-L/home/parson/project/podium/dbus-1.5.8/__install/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/var/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/lib -L/usr/local/arm/4.3.3/lib" export CFLAGS="-g -I/home/parson/project/podium/dbus-1.5.8/__install/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/include -I/usr/local/arm/4.3.3//arm-none-linux-gnueabi/libc/armv4t/usr/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/install-tools/include" ./configure --host=arm-linux --build=i686-pc-linux CC=arm-none-linux-gnueabi-gcc CCAS=arm-none-linux-gnueabi-as AR=arm-none-linux-gnueabi-ar LD=arm-none-linux-gnueabi-ld --host=arm-linux --prefix=/home/parson/project/podium/glib-2.22.4/__install_arm --cache-file=arm-none-linux-gnueabi.cache freetype编译 export LDFLAGS=" -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/var/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/lib -L/usr/local/arm/4.3.3/lib" export CFLAGS="-g -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/include -I/usr/local/arm/4.3.3//arm-none-linux-gnueabi/libc/armv4t/usr/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/install-tools/include" ./configure CC=arm-none-linux-gnueabi-gcc --host=arm-linux --prefix=/home/parson/project/podium/directFB/freetype-2.4.3/__install --without-zlib dbus编译 export LDFLAGS="-L/home/parson/project/podium/expat-2.0.1/__install/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/var/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/lib -L/usr/local/arm/4.3.3/lib" export CFLAGS="-g -I/home/parson/project/podium/expat-2.0.1/__install/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/include -I/usr/local/arm/4.3.3//arm-none-linux-gnueabi/libc/armv4t/usr/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/install-tools/include" ./configure --host=arm-linux --prefix=/home/parson/project/podium/dbus-1.5.8/__install --host=arm-linux --build=i686-pc-linux CC=arm-none-linux-gnueabi-gcc CCAS=arm-none-linux-gnueabi-as AR=arm-none-linux-gnueabi-ar LD=arm-none-linux-gnueabi-ld --host=arm-linux --cache-file=arm-linux.cache --without-x DirectFB编译 注意顺序 export LDFLAGS="-L/home/parson/project/podium/zlib-1.2.3/__install/lib -L/home/parson/project/podium/glib-2.22.4/__install_arm/lib -L/home/parson/project/podium/directFB/freetype-2.4.3/__install/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/var/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/lib -L/usr/local/arm/4.3.3/lib" export CFLAGS="-g -I/home/parson/project/podium/directFB/freetype-2.4.3/__install/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/include -I/usr/local/arm/4.3.3//arm-none-linux-gnueabi/libc/armv4t/usr/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/install-tools/include" ./configure CC=arm-none-linux-gnueabi-gcc CCAS=arm-none-linux-gnueabi-as AR=arm-none-linux-gnueabi-ar LD=arm-none-linux-gnueabi-ld --host=arm-linux --prefix=/home/parson/project/podium/directFB/DirectFB-1.2.10/__install --with-gfxdrivers=none --with-inputdrivers=all --enable-png=yes --enable-jpeg=yes --enable-zlib=yes --enable-sdl=no --enable-gif=yes --disable-x11 --enable-vnc=yes --enable-debug=yes --enable-debug-support=yes directvnc编译 ####################4.3.3################################# export LDFLAGS="-L/home/parson/project/podium/directFB/DirectFB-1.2.10/__install/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/thumb2/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/var/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/usr/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/armv4t/lib -L/usr/local/arm/4.3.3/arm-none-linux-gnueabi/lib -L/usr/local/arm/4.3.3/lib" export CFLAGS="-g -I/home/parson/project/podium/directFB/DirectFB-1.2.10/__install/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/include -I/usr/local/arm/4.3.3/arm-none-linux-gnueabi/libc/usr/include -I/usr/local/arm/4.3.3//arm-none-linux-gnueabi/libc/armv4t/usr/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/include -I/usr/local/arm/4.3.3//lib/gcc/arm-none-linux-gnueabi/4.3.3/install-tools/include"