Prepare Your Host

Here are the steps for setting up a Yocto Project* 1.x environment on your host. Go to http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#required-packages-for-the-host-development-system to see a list of required packages for Debian* , Fedora*, or other releases.

  1. On your Linux* host, download the pre-built toolchain from http://downloads.yoctoproject.org/releases/yocto/yocto-1.2.1/toolchain/i686/poky-eglibc-i686-i586-toolchain-gmae-1.2.1.tar.bz2. The following sample toolchain tar file is for a Yocto Project 1.2, 32-bit development host system and a 32-bit target architecture:

    poky-eglibc-i686-i586-toolchain-gmae-1.2.tar.bz2

  2. Install your selected tar file on your Linux* development host in the root "/" directory, to create an installation area /opt/poky/1.x.

  3. Set up your Linux* host

    1. There are many supported Linux distributions. See the Yocto Project* Quick Start for information on the required setup for supported Linux* distributions: http://www.yoctoproject.org/docs/1.2/yocto-quick-start/yocto-project-qs.html.

    2. To setup a Ubuntu* x64 12.04 system for example, run:

      $ sudo apt-get install sed wget cvs subversion git-core coreutils \
      
             
                 unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \
      
           
                  python-pysqlite2 diffstat help2man make gcc build-essential \
      
      
                  g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \
      
       
                  mercurial autoconf automake groff
      

For more complete information about compiler optimizations, see our Optimization Notice.