Location via proxy:   
[Report a bug]   [Manage cookies]                

olibc

Another C Library optimized for Embedded Linux


Project maintained by olibc Hosted on GitHub Pages — Theme by mattgraham

Introduction

The olibc is derived from bionic libc used in Android, which was initially derived from NetBSD libc. The development goal of olibc is expected to merge the enhancements done by several SoC vendors and partners, such as Qualcomm, Texas Instruments, Linaro, etc., which is known to be the major difference from glibc, uClibc, and other traditional C library implementations. Typically, the code size of olibc runtime should be about 300 KB. For ARM target, olibc would benefit from ARMv7 specific features like NEON, Thumb-2, VFPv3/VFPv4, and latest compiler optimization techniques. Also, olibc is released under BSD License.

Downloading the source tree

Repo is a tool that makes it easier to work with Git in the context of Android. For more information about Repo, see Version Control.

To install, initialize, and configure Repo, follow these steps:

  • Make sure you have a bin/ directory in your home directory, and that it is included in your path:

    $ mkdir ~/bin
    $ export PATH=~/bin:$PATH
    
  • Download the Repo script and ensure it is executable:

    $ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    $ chmod a+x ~/bin/repo
    

After installing Repo, set up your client to access the android source repository:

  • Create an empty directory to hold your working files. Give it any name you like:

    $ mkdir -p workspace-olibc
    $ cd workspace-olibc
    
  • Run repo init to bring down the latest version of Repo with all its most recent bug fixes:

    $ repo init -u https://github.com/olibc/manifest.git
    
  • To pull down files to your working directory from the repositories as specified in the default manifest, run

    $ repo sync
    

Mailing list