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

zs p paaa1976 at yahoo.com.cn
Tue Mar 7 23:13:02 CET 2006


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免费邮箱百分百防垃圾信
 雅虎助手-搜索、杀毒、防骚扰  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060307/3f2fbb58/attachment.htm>


More information about the gstreamer-devel mailing list