Skip to content
Stafford Horne edited this page Sep 22, 2016 · 4 revisions

Musl Cross

The musl cross project is a set of scripts for downloading and building the musl libc library and toolchains.

Build musl for OpenRISC

  • Clone this repository:

     git clone https://github.com/openrisc/musl-cross.git
    
  • Run the build:

     ./build.sh
    

Build a specific GCC version

  • List the available builds:

     git clone https://github.com/openrisc/musl-cross.git
     cd musl-cross
     git tag
    
  • Checkout the version:

     git checkout -b gcc<version>-musl<version>
    
  • Build

     ./build.sh
    

Customized build

If you would like to change any properties, such as installation prefix, you can do so by editing config.sh.

Clone this wiki locally