I am trying to cross compile gnash for mipsel platform, I've defined the 
environment as follows:

Toolchain - /home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-gcc
Rootfs - /home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root
CROSS_COMPILE=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-gcc/bin/mipsel-linux-gnu-
CROSS_INC=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr/include/
CROSS_LIB=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr/lib/

Running -
./configure \
    --host=mipsel-linux-gnu \
    --disable-klash --disable-plugin --disable-glext --with-x=no --disable-xml 
--disable-sound \
    --enable-gui=fb --enable-renderer=agg \
    
CC=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-gcc/bin/mipsel-linux-gnu-gcc
 \
    
CXX=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-gcc/bin/mipsel-linux-gnu-g++
 \
    --with-libxml-incl=$CROSS_INC/libxml2 --with-agg-incl=$CROSS_INC/agg2 \
    --with-gstreamer-incl=$CROSS_INC/gstreamer-0.10 
--with-gstreamer-lib=$CROSS_LIB \
    --with-boost-incl=$CROSS_INC/boost --with-boost-lib=$CROSS_LIB

The problems are:

1) I am forced to define -with-<...>-incl and -with-<...>-lib parameters, I 
don't understand why configure script cannot find
   the necessary paths.
2) I am getting the error that configure cannot find pthread library, how can I 
point to the library's location?

Sergey
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to