[spook-l] how to cross compile spook

=?gb2312?B?1twgw/c=?= yannizm at hotmail.com
Thu Mar 2 10:49:11 EST 2006


>for example:
>
>System types:
>   --build=BUILD     configure for building on BUILD [guessed]
>   --host=HOST       cross-compile to build programs to run on HOST 
[BUILD]
>
>./configure --host=arm-linux

I tried ,I typed ./configure --host=arm-linux (--build=arm),but there is a 
wrong message when it is checking: 

"checking XviD version 1.0.0... configure: error: cannot run test program 
while cross compiling
See `config.log' for more details.
"
what is the problem? 

by the way ,I use 

"./configure --build=arm --host=localhost CC=arm-linux-gcc 
CFLAGS=-I/usr/local/arm/2.95.3/arm-linux/include -fPIC -I/kernel/include 
LDFLAGS=-L/usr/local/arm/2.95.3/arm-linux/lib" 

to cross-compile xvidcore-1.1.0 to produce libxvidcore.so.4.1 with 
arm-linux-gcc 2.95.3

_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn  




More information about the spook-l mailing list