hi edward,<br>&nbsp;i have cross-compiled gstreamer including glib, libxml and the required for arm. BTW. i use fedora core (but that shud not matter.)<br><br>export the path to the cross-compilers bin dir to the path environment variable.
<br><br>i.e. export&nbsp; PATH=&lt;PATH_TO_TOOLCHAIN_BIN&gt;:$PATH<br><br>next what i do is, export a path for pkgconfig files.<br>assuming im going to store all the compiled stuff to /opt/gstreamer i would to<br><br>export PKG_CONFIG_PATH=/opt/gstreamer/lib/pkgconfig
<br><br>and then the configure command for gstreamer would be<br>./configure --prefix=/opt/gstreamer --host=arm-linux<br><br>[and of course whatever other flags u wanna specify.]<br>NOTE: gstreamer depends on glib and libxml, so they too need to be cross compiled , unless u dont want libxml.
<br><br>so i would recommend that u export the PATH and PKG_CONFIG_PATH variables at the start of ur entire compilation procedure.<br>starting from glib onwards...<br>another thing u might have to do is give symbolic links to cross compiler tools
<br>i.e. ur toolchains gcc command might look like this <br>arm-wrs-linux-gnueabi-armv5tel-glibc_small-gcc<br><br>so make a symbolic link to it like arm-linux-gcc<br><br>do this for all the commands in ur tool chains bin dir with the arm-wrs-linux-gnueabi-armv5tel-glibc_small- (ur toolchain prefix) prefix
<br>___________________<br><br>see if this info helps you<br>take care<br>snaik<br><br><br><br><div><span class="gmail_quote">On 11/3/06, <b class="gmail_sendername">Edward Averill</b> &lt;<a href="mailto:edaverill@hotmail.com">
edaverill@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I did a search of the mailing list archives and didn't see anything that
<br>immediately popped out at me.. so..<br><br>I'm trying to cross-compile for an ARM Linux system from Ubuntu.&nbsp;&nbsp;I have no<br>problems cross-compiling liboil (whew!) but using configure, I've been<br>unable to convince gstreamer to NOT use gcc!&nbsp;&nbsp;I've set $CC to the ARM
<br>compiler, tried using the CC= in the configure command line, all to no<br>avail.. in the output from configure I see:<br><br>checking whether to enable maintainer-specific portions of Makefiles... no<br>checking build system type... i686-pc-linux-gnu
<br>checking host system type... arm-unknown-linux-gnu<br>checking for style of include used by make... GNU<br>checking for arm-linux-gcc... arm-wrs-linux-gnueabi-armv5tel-glibc_small-gcc<br>checking for C compiler default output file name... 
a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... yes<br><br>..so it looks like it's finding my ARM compiler, but when it compiles I see<br>the infamous &quot;mode=compile gcc&quot; instead of what the liboil compile shows,
<br>which is &quot;mode=compile arm-wrs-linux-gnueabi-armv5tel-glibc_small-gcc&quot;.&nbsp;&nbsp;For<br>example, the liboil cross-compile shows the following kind of message for a<br>compile:<br><br>if /bin/sh ../../libtool --tag=CC --mode=compile
<br>arm-wrs-linux-gnueabi-armv5tel-glibc_small-gcc -DHAVE_CONFIG_H -I. -I.<br>-I../..&nbsp;&nbsp;&nbsp;&nbsp;-Wall -D_BSD_SOURCE -D_GNU_SOURCE -I../.. -g -O2 -MT<br>lib_c_la-ag_clamp.lo -MD -MP -MF &quot;.deps/lib_c_la-ag_clamp.Tpo&quot; -c -o
<br>lib_c_la-ag_clamp.lo `test -f 'ag_clamp.c' || echo './'`ag_clamp.c; \<br>then mv -f &quot;.deps/lib_c_la-ag_clamp.Tpo&quot; &quot;.deps/lib_c_la-ag_clamp.Plo&quot;; else<br>rm -f &quot;.deps/lib_c_la-ag_clamp.Tpo&quot;; exit 1; fi
<br><br>..but the gStreamer cross-compile shows..<br><br>if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.<br>-I../..&nbsp;&nbsp;&nbsp;&nbsp;-I../../libs -I../.. -I../.. -pthread -I/usr/include/glib-2.0<br>-I/usr/lib/glib-
2.0/include -I/usr/include/libxml2&nbsp;&nbsp; -Wall -g<br>-DGST_DISABLE_DEPRECATED -g -O2 -MT libgstparse_la-lex._gst_parse_yy.lo -MD<br>-MP -MF &quot;.deps/libgstparse_la-lex._gst_parse_yy.Tpo&quot; -c -o<br>libgstparse_la-lex._gst_parse_yy.lo `test -f 'lex._gst_parse_yy.c' || echo
<br>'./'`lex._gst_parse_yy.c; \<br>then mv -f &quot;.deps/libgstparse_la-lex._gst_parse_yy.Tpo&quot;<br>&quot;.deps/libgstparse_la-lex._gst_parse_yy.Plo&quot;; else rm -f<br>&quot;.deps/libgstparse_la-lex._gst_parse_yy.Tpo&quot;; exit 1; fi
<br><br>I even tried copying the installer.sh from liboil to gstreamer and<br>rebuilding everything, same results.<br><br>I've looked at a lot of pages on cross-compilation, tried every trick I've<br>found, but still no joy.
<br><br>Can anyone direct me to some good resources on this topic?&nbsp;&nbsp;and apologies if<br>this is a newbie question... I'm sure it's a &quot;loose nut behind keyboard&quot;<br>error..<br><br>All assistance appreciated.<br><br>
..ed..<br><br><br><br>-------------------------------------------------------------------------<br>Using Tomcat but need to do more? Need to support web services, security?<br>Get stuff done quickly with pre-integrated technology to make your job easier
<br>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642
</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br></blockquote></div><br>