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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.