[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Cross Compilation Error
From: |
Rob Savoye |
Subject: |
Re: [Gnash-dev] Cross Compilation Error |
Date: |
Thu, 07 Jun 2007 08:40:05 -0600 |
User-agent: |
Thunderbird 2.0.0.0 (X11/20070326) |
Prathap KV wrote:
> When i configure:
> CC=arm-linux-gcc CXX=arm-linux-g++ LD=arm-linux-ld
> AR=arm-linux-ar ../gnash-0.7.2/configure CFLAGS=-g CXXFLAGS=-g
> LDFLAGS=/home/prathap/oe/arm-linux/lib/
> CPPFLAGS=/home/prathap/oe/arm-linux/include/ --target=arm-linux
> --prefix=/usr/local/gnash --host=arm-linux --build=i686-linux
> --disable-plugin --enable-renderer=agg --enable-gui=fb
> --with-agg-incl=/home/prathap/oe/include/agg2/
> --with-agg-lib=/home/prathap/oe/lib/ --disable-sound
> --with-zlib-incl=/home/prathap/oe/arm-linux/include/
> --with-zlib-lib=/home/prathap/oe/arm-linux/lib/
> --with-jpeg-incl=/home/prathap/oe/arm-linux/include/
> --with-jpeg-lib=/home/prathap/oe/arm-linux/lib/
> --with-libxml-libraries=/home/prathap/oe/arm-linux/lib/
> --with-libxml-includes=/home/prathap/oe/arm-linux/include/
Make sure you can compile a simple "Hello World" test case to make
sure the cross tool chain is installed properly. Rather than specifying
all the paths, use either --top=level, or in the ARM case, set --prefix
to /home/prathap/oe, and configure will look there too. There is an
entire chapter in the manual specifically on cross configuring for an
arm based open embedded target.
> How can this be resolved?
> Any one please help me to cross compile GNASH-0.7.2 for my PXA255.
You will have much better luck with the 0.8 branch, or CVS HEAD.
- rob -