Skip to content

Illuminux/arm-cross-sysroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arm-cross-sysroot

ARM Cross Sysroot is a script bundle to cross-compile libraries on a host computer for an ARM target. This git repo contains just scripts to build the libraries for an ARM target. It does not contains any of the the source. They will be downloaded during the build process.

Usage

By default clone the script into your home development directory.

$ git clone https://github.com/Illuminux/arm-cross-sysroot.git

Change into the arm-cross-sysroot directory and copy/rename the file config.cfg.sample to config.cfg:

$ mv config.cfg.sample config.cfg

Open config.cfg with an editor of your choice and and customize it according to your system.

  • UV_sysroot_dir Directory in which the sysroot should be installed.
  • UV_download_dir Directory in which the downloads are to be loaded
  • UV_toolchain_dir Directory where the toolchain is located (exclude bin directory)
  • UV_target Target architecture/Tollchain prefix

To build the cross sysroot just run the following command:

$ ./sysroot --build

Dependencies

Linux:

Host Packages installation:

  • $ sudo apt-get install build-essentials gettext curl glib intltool autogen autoconf automake cmake libxml2-dev

GCC ARM Cross ToolChain:

  • arm-linux-gnueabihf
    Hardfloat - Linaro Toolchain Binaries 4.9 (BeagleBone etc.)
  • gcc-linaro-arm-linux-gnueabihf-raspbian (Raspberry PI): $ git clone https://github.com/raspberrypi/tools.git
  • arm-none-linux-gnueabi:
    Softfloat CodeSourcery Toolchain Binaries (QNAP etc.)

Mac OS X

Host Packages installation:

  • Xcode Command Line Tools:
    $ xcode-select --install
  • Homebrew:
    $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)
  • Homebrew packages:
    The required packages will be installed automatically during the script will be executed.

GCC ARM Cross ToolChain:

Supported libraries:

  • Image Libraries:

    • libjpeg - Independent JPEG Group's JPEG runtime library
    • jasper - JPEG-2000 runtime library
    • limpng - PNG library
    • libtiff - Tag Image File Format library
    • libraw - raw image decoder library
    • liblcms2 - Little CMS 2 color management library development headers
  • Audio and Video Libraries:

    • gstreamer - pipeline-based multimedia framework
    • gst-plugins-base - GStreamer libraries from the "base" set
    • gst-plugins-good - GStreamer development files for libraries from the "good" set
    • alsa - Advanced Linux Sound Architecture
    • liboog - Ogg bitstream library
    • libvorbis - Vorbis General Audio Compression Codec
    • libtheora - Theora Video Compression Codec
    • libvisual - Audio visualization framework
    • wavpack - Audio codec (lossy and lossless) encoder and decoder
    • lib - Open source audio and video processing tools
    • lame - MP3 encoding library
    • taglib - Library for reading and editing the meta-data of audio formats
    • x264 - Video coding library
    • Libav - Codec library
  • Compression Libraries:

    • zlib - Compressing File-I/O Library
    • bzip2 - High-quality block-sorting file compressor
    • liblzma - XZ-format compression library
  • Markup Language/JSON Libraries:

    • expat - XML parsing C library
    • libxml2 - GNOME XML library
    • json-glib - GLib JSON manipulation library
    • QJson - Qt-based library that maps JSON data to QVariant objects and vice versa.
  • Hardware Libraries:

    • tslib - Abstraction layer for touchscreen
    • i2c-tools - Heterogeneous set of I2C tools for Linux
    • bluez - Bluetooth protocol stack library
    • libusb - userspace USB programming library
    • wiringPi - GPIO Interface library for the Raspberry Pi 2.
    • BlackLib - GPIO Interface library for Beaglebone Black 3.
  • Communication:

    • libmodbus - Library for the Modbus protocol
    • curl - Command line tool for transferring data with URL syntax
  • Mathematic and Scientific Libraries:

    • gsl - GNU Scientific Library
    • gmp - Multi precision arithmetic library developers tools
    • mpfr - Multiple precision floating-point computation developers tools
  • Database:

    • sqlite - Database management system libraries
  • Framework and System Libraries:

    • Qt - development files and development programs for host. Selectable in config.cfg:
      • Qt 4.8.6
      • Qt 5.4.1 (experimental)
    • glib - GLib development library
    • dbus - Simple interprocess messaging system
    • libffi - Foreign function interface library
    • ncurses - text-based user interfaces library
    • readline - GNU readline and history libraries
    • cryptodev - Access to Linux kernel cryptographic drivers
    • openssl - Secure Sockets Layer toolkit
    • liborc - Library of Optimized Inner Loops Runtime Compiler
    • freetype - FreeType 2 font engine
    • fontconfig - Generic font configuration library
    • cairo - The Cairo 2D vector graphics library
    • liblqr - Converts plain array images into multi-size representation
    • libssh2 - SSH2 client-side library
    • libdirectfb - Direct frame buffer graphics library
    • libconfig - Configuration File Library
    • libsoup - HTTP library implementation in C
    • libevent - API for asynchronous event notification
    • libical - iCalendar library implementation
  • X11 Libraries:

    • libX11 - X11 client-side library
    • libXext - X11 miscellaneous extensions library
    • pixman - pixel-manipulation library for X
    • xtrans - X transport library
    • xproto
    • xextproto
    • inputproto
    • xcb-proto - X C Binding
    • libpthread-stubs - pthread stubs not provided by native libc
    • libXau - X11 authorisation library
    • libgpg-error - Library for common error values and messages in GnuPG components
    • libgcrypt - LGPL Crypto library
    • libxslt - XSLT 1.0 processing library
    • libxcb - X C Binding
    • videoproto - X11 Video extension wire protocol
    • kbproto - X11 XKB extension wire protocol
    • libXv - X11 Video extension library

**1.)** Linux only.
**2.)** Raspberry Pi only. **3.)** Beaglebone Black only.

About

Script Bundle to cross-compile of some libraries

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages