Giter VIP home page Giter VIP logo

aarch64-static-linux-musl's Introduction

aarch64-static-linux-musl

A toolchain designed for easy static build for aarch64! ๐Ÿ› ๏ธ

Preparing Build Environment

Ubuntu 20.04 is recommended.

sudo apt update
sudo apt install gcc g++ make wget

Step 1) Download All The Packages

make download

Step 2) Build Toolchain

make toolchain
$ out/tools/bin/aarch64-static-linux-musl-gcc --version
aarch64-static-linux-musl-gcc (aarch64 2022.12) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Usage Example

For example, I wrote a static build of fio. It can be executed with make example, and the code is scripts/example.sh.

Packages

  • Autoconf 2.71
  • Automake 1.16.4
  • Binutils 2.37
  • Bison 3.7.6
  • Gawk 5.1.0
  • Gcc 11.2.0
  • Gmp 6.2.1
  • Libtool 2.4.6
  • Linux 5.4.228
  • M4 1.4.19
  • Mpc 1.2.1
  • Mpfr 4.1.0
  • Musl 1.2.3
  • Pkgconf 1.8.0
  • Zlib 1.2.11

aarch64-static-linux-musl's People

Contributors

leekyuhyuk avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.