2008年11月4日 星期二

第三章 libXi 移植



*************************************************************************************************
39.libXext-1.0.3

相依 Xproto Xextproto
$ CC=arm-softfloat-linux-gnu-gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-static=yes --enable-shared=yes --enable-malloc0returnsnull
$ make all
$ make install

--enable-malloc0returnsnull 加了這一個選項就不用去改configure
edit configure to find "cannot run test program while cross compiling"
modify { (exit 1); exit 1; }; } to }
*************************************************************************************************
40.libXi-1.1.2

相依 libxext inputproto
$ CC=arm-softfloat-linux-gnu-gcc ./configure --prefix=$PREFIX --host=$HOST --build=$BUILD --enable-static=yes --enable-shared=yes --enable-malloc0returnsnull
$ make all
$ make install

--enable-malloc0returnsnull 加了這一個選項就不用去改configure這一個不要打 export LD_LIBRARY_PATH=
edit configure to find "cannot run test program while cross compiling"
modify { (exit 1); exit 1; }; } to }
*************************************************************************************************