<div>This is the script file i have...<br></div><div>i am running this script file each and every time..</div><div><strong>#!/bin/sh<br>export PATH=$PATH:/home/iqbal/Desktop/Niamath/toolchain/bin/<br>#export PARENT_DIR=/mnt/rbsys-icon1/<br>
#export PATH=$PARENT_DIR/toolchain/bin/:/bin/:/usr/bin/:/sbin/:/mnt/monta-vista/montavista/pro/bin/<br>#export C6X_C_DIR=&quot;/mnt/rbsys-icon1/dvsdk_3_00_00_36/cgtools/include;/mnt/rbsys-icon1/dvsdk_3_00_00_36/cgtools/lib&quot;<br>
#export KERNEL_DIR=$PARENT_DIR//kernel/linux-02.01.01.07/<br>#export SDK_DIR=$PARENT_DIR/dvsdk_3_00_00_36<br>export ARCH=arm<br>export CROSS_COMPILE=arm-none-linux-gnueabi-<br>export HOST=i686-pc-linux-gnu</strong><br><strong>export T</strong><strong>ARGET=arm-linux-gnu<br>
#export ROOTFS=$PARENT_DIR/nfs-develop<br>#export PREFIX=$PARENT_DIR/nfs-develop/usr/local<br>export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/<br>#export PATCH_SOURCE_DIR=/mnt/rbsys-icon1/patches_for_omap_sources/<br>#export BASE_SOURCE_DIR=/mnt/rbsys-icon1/sources/<br>
#export DAVINCI_SOURCE_DIR=/mnt/rbsys-icon1/davinci_sources/<br>#export PATCH_SOURCE_DIR=/mnt/rbsys-icon1/patches_for_omap_sources/<br>#export QTSOURCEDIR=$DAVINCI_SOURCE_DIR/qt-embedded-linux-opensource-src-4.5.2/<br>#export QTDIR=$DAVINCI_SOURCE_DIR/qt-embedded-linux-opensource-src-4.5.2/<br>
#export FLASHCOMPONENT=$ROOTFS/flash_component/<br>#export QMAKESPEC=$QTSOURCEDIR/mkspecs/qws/linux-arm-g++/<br>export CFLAGS=&quot;-O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=neon -ftree-</strong><strong>vectorize -funroll-all-loops&quot;<br>
export CXXFLAGS=&quot;-O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=neon -ftree-vectorize -funroll-all-loops&quot;<br>CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ LD=arm-none-linux-gnueabi-ld AS=arm-none-linux-gnueabi-as AR=arm-none-linux-gnueabi-ar RANLIB=arm-none-linux-gnueabi-ranlib STRIP=arm-none-linux-gnueabi-strip OBJCOPY=arm-none-linux-gnueabi-objcopy OBJDUMP=arm-none-linux-gnueabi-objdump ./configure --prefix=$PREFIX  --build=i386-pc-linux-gnu --host=arm-linux-gnu  --without-python --cache-file=cache-file PLATFORM=MX51<br>
<br>if [  $? != 0 ]<br>then<br>        echo &quot;Configuration of glib library  has failed&quot;;<br>        exit 1;<br>fi</strong><br><strong>make<br>if [  $? != 0 ]<br>then<br>        echo &quot;Building  of glib library  has failed &quot;;<br>
        exit 1;<br>fi<br>make uninstall<br><br>make install<br><br>if [  $? != 0 ]<br>then<br>        echo &quot;Installing  of glib-library has failed &quot;;<br>        exit 1;<br>fi</strong><br><br></div><div>   IN this cript i know about this cross compiler exporting and all other thngs i dont know. i got this script from my friend. he is using this script to compile for OMAP arm and i have to compile for freescale processor arm board.</div>
<div><br></div>ll me.<br>
AND in this two files which one have to compile? whether it is needed to<br>
export any library files?i mean codec files?<br>
please help me<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
<br></div>
doing cross-compilation and being a novice is not easy :-)<br>
<br>
you said that you exported some env var for you arm board. What exactly did you do ?<br><font color="#888888">
<br>
Vincent Torri<br>
</font><br>
PS: please, stop top post your comments<div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Sun, Dec 27, 2009 at 2:04 PM, Vincent Torri &lt;<a href="mailto:vtorri@univ-evry.fr" target="_blank">vtorri@univ-evry.fr</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Sun, 27 Dec 2009, Niamathullah sharief wrote:<br>
<br>
 No i didnt install any gst-plugin-base. i dont know what are all the files<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
needed to compile the gstreamer for ARM board. and what are the commands<br>
used to compile. what are all things i have to export. so pleae help me.<br>
so<br>
tell me what are all the files needed to compile for arm. now i have<br>
1)ARM coss compile<br>
<br>
</blockquote>
<br>
download<br>
<a href="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.25.tar.bz2" target="_blank">http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.25.tar.bz2</a><br>
and<br>
<br>
<a href="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.25.tar.bz2" target="_blank">http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.25.tar.bz2</a><br>
<br>
<br>
 2)gst-fsl-plugin-1.6.0<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3)fsl-mm-codeclib-1.6.0<br>
<br>
 THis are the steps i followed o compile the gstreamer<br>
     1)i exported cross compiler path.<br>
<br>
</blockquote>
<br>
compile and install gstreamer for your platform<br>
<br>
if you use:<br>
<br>
./configure --prefix=/my/prefix/for/fsl<br>
<br>
execute:<br>
<br>
export PKG_CONFIG_PATH=/my/prefix/for/fsl/lib/pkgconfig<br>
<br>
Then compile and install gst-plugins-base for your platform with also:<br>
<br>
./configure --prefix=/my/prefix/for/fsl<br>
<br>
<br>
      2)then i tried to compile this gst-fsl-plugin-1.6.0<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
Vincent Torri<br>
<br>
</blockquote>
<br>
</blockquote>
</div></div></blockquote></div><br>