<div>Thanks for your valuable information. Thanks a lot. I have an another doubt<br></div><div>what is this &quot;WINCE_PATH is where i install the cross compiled libraries/programs.&quot; mean?</div><div>whether you are telling about cross compiling libraries like libxml2,glib etc..?or any other libraries?</div>
<div>if yes where we have to keep that libraries? and where is this &quot;pkg-config: file exist?i didnt hve any file like that?what is the content of that file?from where i can get that file?please tell me</div><div><br>
</div><div>And the main thing is whether this gst-plugin base is required while compiling this gstreamer i mean whether we have to use some libraries and some codecs file whle compiling gstreamer?or both are seperate one? </div>
<div>Thank a lot in advance</div><br><div class="gmail_quote">On Sun, Dec 27, 2009 at 6:33 PM, Vincent Torri <span dir="ltr">&lt;<a href="mailto:vtorri@univ-evry.fr">vtorri@univ-evry.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
<br>
On Sun, 27 Dec 2009, Niamathullah sharief wrote:<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
what about that script which i have sent...is that correct?<br>
</blockquote>
<br></div>
imho it is *too* complicated. For cross compilation for Windows CE, i use the following script:<br>
<br>
#! /bin/sh<br>
<br>
export MINGW32CE_PATH=$HOME/local/opt/mingw32ce<br>
export WINCE_PATH=$HOME/local/wince<br>
<br>
export PATH=$CEGCC_PATH/bin:$MINGW32CE_PATH/bin:$PATH<br>
export CPPFLAGS=&quot;-I$WINCE_PATH/include&quot;<br>
export LDFLAGS=&quot;-L$WINCE_PATH/lib&quot;<br>
export LD_LIBRARY_PATH=&quot;$WINCE_PATH/bin&quot;<br>
export PKG_CONFIG_PATH=&quot;$WINCE_PATH/lib/pkgconfig&quot;<br>
<br>
I save it in a file named mingw32ce.sh. To use it, in a terminal i launch it, only once, with:<br>
<br>
source /path/to/mingw32ce.sh<br>
<br>
MINGW32CE_PATH is where the cross compilation tool chain is located.<br>
WINCE_PATH is where i install the cross compiled libraries/programs.<br>
<br>
Then I update some necessary variables with the 2 variables above. PATH, of course, plus other compilation env var. I think that you should also add CFLAGS and CXXFLAGS for optimizations (like in your script).<br>
<br>
to configure a library:<br>
<br>
./configure --host=arm-mingw32ce --prefix=$WINCE_PATH<br>
<br>
<br>
I don&#39;t put the launch of ./configure in script, like your script, for some reasons. I would suggest that you also don&#39;t put it in your script.<br>
<br>
For the compilation of gstreamer, compile and install for your target:<br>
<br>
1) dependencies of glib-2.0 (ask in the glib related mailing lists for that)<br>
2) glib-2.0<br>
3) gstreamer without libxml2<br>
<br>
if you succeed, you can try gst-plugins-base.<br><font color="#888888">
<br>
Vincent Torri<br>
</font></blockquote></div><br>