Gstreamer cross compilation doubt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


This is the script file i have...
i am running this script file each and every time..
*#!/bin/sh
export PATH=$PATH:/home/iqbal/Desktop/Niamath/toolchain/bin/
#export PARENT_DIR=/mnt/rbsys-icon1/
#export
PATH=$PARENT_DIR/toolchain/bin/:/bin/:/usr/bin/:/sbin/:/mnt/monta-vista/montavista/pro/bin/
#export
C6X_C_DIR="/mnt/rbsys-icon1/dvsdk_3_00_00_36/cgtools/include;/mnt/rbsys-icon1/dvsdk_3_00_00_36/cgtools/lib"
#export KERNEL_DIR=$PARENT_DIR//kernel/linux-02.01.01.07/
#export SDK_DIR=$PARENT_DIR/dvsdk_3_00_00_36
export ARCH=arm
export CROSS_COMPILE=arm-none-linux-gnueabi-
export HOST=i686-pc-linux-gnu*
*export T**ARGET=arm-linux-gnu
#export ROOTFS=$PARENT_DIR/nfs-develop
#export PREFIX=$PARENT_DIR/nfs-develop/usr/local
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/
#export PATCH_SOURCE_DIR=/mnt/rbsys-icon1/patches_for_omap_sources/
#export BASE_SOURCE_DIR=/mnt/rbsys-icon1/sources/
#export DAVINCI_SOURCE_DIR=/mnt/rbsys-icon1/davinci_sources/
#export PATCH_SOURCE_DIR=/mnt/rbsys-icon1/patches_for_omap_sources/
#export
QTSOURCEDIR=$DAVINCI_SOURCE_DIR/qt-embedded-linux-opensource-src-4.5.2/
#export QTDIR=$DAVINCI_SOURCE_DIR/qt-embedded-linux-opensource-src-4.5.2/
#export FLASHCOMPONENT=$ROOTFS/flash_component/
#export QMAKESPEC=$QTSOURCEDIR/mkspecs/qws/linux-arm-g++/
export CFLAGS="-O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8
-mfloat-abi=softfp -mfpu=neon -ftree-**vectorize -funroll-all-loops"
export CXXFLAGS="-O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8
-mfloat-abi=softfp -mfpu=neon -ftree-vectorize -funroll-all-loops"
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

if [ $? != 0 ]
then
echo "Configuration of glib library has failed";
exit 1;
fi*
*make
if [ $? != 0 ]
then
echo "Building of glib library has failed ";
exit 1;
fi
make uninstall

make install

if [ $? != 0 ]
then
echo "Installing of glib-library has failed ";
exit 1;
fi*

   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.

ll me.
AND in this two files which one have to compile? whether it is needed to
export any library files?i mean codec files?
please help me

>
> doing cross-compilation and being a novice is not easy :-)
>
> you said that you exported some env var for you arm board. What exactly did
> you do ?
>
> Vincent Torri
>
> PS: please, stop top post your comments
>
>
>
>> On Sun, Dec 27, 2009 at 2:04 PM, Vincent Torri <vtorri at univ-evry.fr>
>> wrote:
>>
>>
>>>
>>> On Sun, 27 Dec 2009, Niamathullah sharief wrote:
>>>
>>>  No i didnt install any gst-plugin-base. i dont know what are all the
>>> files
>>>
>>>> needed to compile the gstreamer for ARM board. and what are the commands
>>>> used to compile. what are all things i have to export. so pleae help me.
>>>> so
>>>> tell me what are all the files needed to compile for arm. now i have
>>>> 1)ARM coss compile
>>>>
>>>>
>>> download
>>> http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.25.tar.bz2
>>> and
>>>
>>>
>>> http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.25.tar.bz2
>>>
>>>
>>>  2)gst-fsl-plugin-1.6.0
>>>
>>>> 3)fsl-mm-codeclib-1.6.0
>>>>
>>>>  THis are the steps i followed o compile the gstreamer
>>>>     1)i exported cross compiler path.
>>>>
>>>>
>>> compile and install gstreamer for your platform
>>>
>>> if you use:
>>>
>>> ./configure --prefix=/my/prefix/for/fsl
>>>
>>> execute:
>>>
>>> export PKG_CONFIG_PATH=/my/prefix/for/fsl/lib/pkgconfig
>>>
>>> Then compile and install gst-plugins-base for your platform with also:
>>>
>>> ./configure --prefix=/my/prefix/for/fsl
>>>
>>>
>>>      2)then i tried to compile this gst-fsl-plugin-1.6.0
>>>
>>>>
>>>>
>>> Vincent Torri
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20091227/3b4b1d24/attachment.htm>


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux