[spook-l] how to cross compile spook

Leopold Palomo Avellaneda lepalom at wol.es
Thu Mar 2 15:06:46 EST 2006


A Dijous 02 Març 2006 16:49, 周 明 va escriure:
> >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
>
That's look good. So now, you have the xvid library compiled for arm with 
2.95. So, the you must tell to spook, that in the configure script, search 
the xvid lib whereas the libxvidcore.so.4.1 with arm-linux-gcc 2.95.3 is 
located. Think in midn, that you will need to move also this lib to the arm 
box.

Leo

-- 
Linux User 152692 
Catalonia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.litech.org/pipermail/spook-l/attachments/20060302/da58a297/attachment.pgp


More information about the spook-l mailing list