[gst-devel] issues about cross compile gstreamer to arm !

Stefan Kost ensonic at hora-obscura.de
Wed Mar 8 02:57:02 CET 2006


Hi,

have you tried 'make install-strip' instead of 'make install'

Stefan

zs p wrote:
> Can you tell me how to deal with these issues? thanks.
>  
> PC : redhat linux 9.2
> target : arm-linux 
> 1. gstreamer is bigger when cross-compile. Why? How to reduce the size 
> of gstreamer ?
> gstreamer compiled with gcc is 8.7M , but it cross-compiled with 
> arm-linux-gcc is 21M.
> cross-compile configure:(I cross-compile glib and libxml into /home/aaa 
> directory at first)
> CC=arm-linux-gcc LDFLAGS=-L/home/aaa/installdir/lib 
> CPPFLAGS=-I/home/aaa/installdir/include ./configure --host=arm-linux 
> --prefix=/home/aaa/installdir --disable-examples --disable-tests 
> --disable-failing-tests --disable-docbook --disable-gtk-doc 
> --disable-net --disable-debug
> 
> 2. How to tailor glib and libxml to minimum to support gstreamer?
> glib cross-compile configure:
> CC=arm-linux-gcc ./configure --cache-file=crosscompile.cache 
> --host=arm-linux --prefix=/home/aaa/installdir --disable-debug 
> --disable-rebuilds --disable-visibility --disable-gtk-doc --disable-man 
> --without-libiconv --without-html --without-xml
> libxml cross-compile configure:
> CC=arm-linux-gcc ./configure --host=arm-linux 
> --prefix=/home/aaa/installdir --disable-ipv6 --without-docbook 
> --without-ftp --without-html --without-http
> 3.How to tailor gst-plugin-base according with my requirement?
> I don't need so many plugins, especially those depending on x11 libs, 
> but I don't know how to tailor.
>  
> 
> ------------------------------------------------------------------------
> 雅虎1G免费邮箱百分百防垃圾信 <http://cn.mail.yahoo.com>
> 雅虎助手-搜索、杀毒、防骚扰 <http://cn.zs.yahoo.com>





More information about the gstreamer-devel mailing list