[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Cross Compilation Error
From: |
Prathap KV |
Subject: |
[Gnash-dev] Cross Compilation Error |
Date: |
Thu, 7 Jun 2007 12:52:52 +0530 |
User-agent: |
KMail/1.9.1 |
Hi,
I downloaded cross toolchain from
http://www.gnashdev.org/tools/oe-cross-sdk-20061103.tar.bz2.
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/
I get this error:checking for C compiler default output file name...
configure: error: C compiler cannot create executables.
when i exclude LDFLAGS and CPPGLAGS it is getting configured properly but
make fails.
Without this LDFLAGS and CPPFLAGS it is taking libraru path and include path
of host(/usr/lib and /usr/include).
How can this be resolved?
Any one please help me to cross compile GNASH-0.7.2 for my PXA255.
- [Gnash-dev] Cross Compilation Error,
Prathap KV <=