|
From: | Rob Savoye |
Subject: | Re: [Gnash-dev] cross-compiling |
Date: | Sun, 13 Jul 2008 15:33:18 -0600 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080501) |
Sergey Olikh wrote:
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-
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
Gnash uses the traditional GNU style of cross compiling as it uses autoconf. Rather then setting CXX, just add --host mipsel-linux-gnu. You can also use --with-top-level=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root so configure finds your cross environment.
- rob -
[Prev in Thread] | Current Thread | [Next in Thread] |