Static cross compile Gtk-2.16.6+gtk-directfb+arm-linux (arm-linux-gcc-3.4.4+glib-2.3.5)

Source: Internet
Author: User
Tags cairo gtk

-----------------------------------------------------------------------in Ubuntu 10.4 Desktop and "root" Loginapt-get Install build-essential libncurses5-devapt-get install autoconfapt-get install libtoolapt-get Install Gettextapt-get Install Libglib2.0-devapt-get Install Libgtk2.0-dev-----------------------------------------------------------------------1. Tslib 1.4---------------- -------------------------------------------------------make Cleanexport Prefix=/usr/gtkdfb./autogen.shecho "AC_CV _func_malloc_0_nonnull=yes ">ARM-LINUX.CACHECC=ARM-LINUX-GCC/configure--host=arm-linux--prefix= $PREFIX-- Cache-file=arm-linux.cache--enable-static=yes--enable-shared=nomakemake Install-----------------------------------------------------------------------2. zlib-1.2.3-----------------------------------------------------------------------make Cleanexport ldflags=-l$ Prefix/libexport cflags= "-i$prefix/include" Export pkg_config_path= $PREFIX/LIB/PKGCONFIGCC=ARM-LINUX-GCC. Configure--prefix=$Prefixmakemake installps:its Default Static-----------------------------------------------------------------------3. GLib 2.24.1-----------------------------------------------------------------------make Cleanexport ldflags=-l$ Prefix/libexport cflags= "-g-i$prefix/include" Export pkg_config_path= $PREFIX/lib/pkgconfigecho ac_cv_type_long_ Long=yes>arm-linux.cacheecho Glib_cv_stack_grows=no>>arm-linux.cacheecho glib_cv_uscore=no>> Arm-linux.cacheecho Ac_cv_func_posix_getpwuid_r=yes>>arm-linux.cacheecho Ac_cv_func_posix_getgrgid_r=yes >>ARM-LINUX.CACHECC=ARM-LINUX-GCC./configure--host=arm-linux--build=i386-linux--prefix= $PREFIX-- Cache-file=arm-linux.cache--enable-static=yes--enable-shared=nomakemake Install-----------------------------------------------------------------------4. ATK 1.29.2-----------------------------------------------------------------------make CLEANCC=ARM-LINUX-GCC. Configure--host=arm-linux--build=i386-linux--prefix= $PREFIX--enable-sTatic=yes--enable-shared=nomakemake Install-----------------------------------------------------------------------5. jpeg6b-----------------------------------------------------------------------make Cleanexport CC=ARM-LINUX-GCCCC =ARM-LINUX-GCC ar=arm-linux-ar ar2=arm-linux-ranlib./configure--host=arm-linux--prefix= $PREFIX--enable-static= Yes--enable-shared=nomkdir $PREFIX/manmkdir $PREFIX/man/man1makemake installmake Install-lib-----------------------------------------------------------------------6. libpng-1.2.33-----------------------------------------------------------------------make CLEANCC=ARM-LINUX-GCC. /configure--host=arm-linux--prefix= $PREFIX--enable-static=yes--enable-shared=nomakemake Install-----------------------------------------------------------------------7. expat-2.0.1-----------------------------------------------------------------------make CLEANCC=ARM-LINUX-GCC. Configure--host=arm-linux--prefix= $PREFIX--enable-static=yes--enable-shared=nomakemake inStall-----------------------------------------------------------------------8. freetype-2.3.7-----------------------------------------------------------------------make CLEANCC=ARM-LINUX-GCC ./configure--host=arm-linux--prefix= $PREFIX--enable-static=yes--enable-shared=nomakemake Install-----------------------------------------------------------------------9. libxml2-2.6.31-----------------------------------------------------------------------make CLEANCC=ARM-LINUX-GCC ./configure--host=arm-linux--prefix= $PREFIX--enable-static=yes--enable-shared=nomakemake Install-----------------------------------------------------------------------10. fontconfig-2.6.0-----------------------------------------------------------------------make Cleanexport libxml2_ Cflags=-i$prefix/include/libxml2export libxml2_libs= "-L$PREFIX/LIB-LXML2" CC=ARM-LINUX-GCC./configure--host= Arm-linux--prefix= $PREFIX--with-freetype-config= $PREFIX/bin/freetype-config--with-arch=arm--enable-static=yes- -enable-shaRed=nomakemake Install-----------------------------------------------------------------------11. tiff-3.7.4-----------------------------------------------------------------------make CLEANCC=ARM-LINUX-GCC. Configure--host=arm-linux--prefix= $PREFIX--enable-static=yes--enable-shared=nomakemake Install-----------------------------------------------------------------------12. DirectFB-1.3.0-----------------------------------------------------------------------make CLEANCC=ARM-LINUX-GCC ./configure--host=arm-linux--prefix= $PREFIX--with-gfxdrivers=none--enable-png--enable-jpeg--enable-tiff-- Enable-zlib--enable-sdl=no--enable-gif=no--disable-x11--enable-static=yes--enable-shared=nomakemake Installrember making execute file need add-links or system core ERROR:/USR/GTKDFB/LIB/DIRECTFB-1.3-0/WMLIBDIRECTFB_FB Dev.o/usr/gtkdfb/lib/directfb-1.3-0/wmlibdirectfbwm_ DEFAULT.O-----------------------------------------------------------------------13. pixman-0.12.0-----------------------------------------------------------------------make Cleanexport pkg_config_libdir= "$PREFIX/lib/pkgconfig" cc= ARM-LINUX-GCC./configure--host=arm-linux--prefix= $PREFIX--enable-static=yes--enable-shared=nomakemake Install-----------------------------------------------------------------------14. cairo-1.8.10-----------------------------------------------------------------------make CLEANCC=ARM-LINUX-GCC. Configure--host=arm-linux--prefix= $PREFIX--without-x--disable-xlib--disable-xlib-xrender--ENABLE-DIRECTFB-- Enable-freetype--disable-win32--enable-pdf--enable-ps--enable-png--enable-static=yes--enable-shared=nomakemake Install-----------------------------------------------------------------------15. pango-1.20.2-----------------------------------------------------------------------Modify Configure Filehave_ Cairo=truehave_cairo_png=truehave_cairo_ps=truehave_cairo_pdf=truehave_cairo_freetype=truemake cleanCC= ARM-LINUX-GCC./configure--host=arm-linux--prefix= $PREFIX--eNable-static=yes--enable-shared=no--without-x--enable-cairo=yes--with-included-modules=basic-fcmakemake Install-----------------------------------------------------------------------16. gtk+-2.16.6-----------------------------------------------------------------------Mark Function:_gtk_marshal_ Object__void in gtk+-2.16.6/perf/marshalers.cmodify configure:*** Can ' t link to Pango. Pango is required to build*** GTK +. For more information see http://www.pango.org ">&2;} {(exit 1); exit 1;}; }to{(echo 1); echo 1;}; }make cleanexport prefix=/usr/gtkdfbexport ldflags= "-l$prefix/lib-wl,-rpath, $PREFIX/lib" Export CFLAGS= "-I$PREFIX/ Include "Export pkg_config_path= $PREFIX/lib/pkgconfigecho Gio_can_sniff=yes>arm-linux.cacheecho ac_cv_path_gtk_ Update_icon_cache=/usr/bin/gtk-update-icon-cache>>arm-linux.cacheecho ac_cv_path_GDK_PIXBUF_CSOURCE=/usr/ BIN/GDK-PIXBUF-CSOURCE>>ARM-LINUX.CACHECC=ARM-LINUX-GCC./configure--host=arm-linux--prefix= $PREFIX-- With-gdktarget=directfb--without-x--enable-static=yes--enable-shared=no--without-libtiff--without-libjpeg--without-libjasper-- WITH-INCLUDED-LOADERS=ANI,BMP,ICO,ICNS,PCX,PNG,GIF,PNM,RAS,TGA,WBMP,XBM,XPM--disable-glibtest--cache-file= ARM-LINUX.CACHEORCC=ARM-LINUX-GCC./configure--host=arm-linux--prefix= $PREFIX--WITH-GDKTARGET=DIRECTFB-- Without-x--disable-modules--with-included-loaders=ani,bmp,ico,icns,pcx,png,gif,pnm,ras,tga,wbmp,xbm,xpm-- Enable-static=yes--enable-shared=no--without-libtiff--without-libjpeg--disable-glibtest--cache-file= Arm-linux.cachemakemake Install

Static cross compile Gtk-2.16.6+gtk-directfb+arm-linux (arm-linux-gcc-3.4.4+glib-2.3.5)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.