Coder Social home page Coder Social logo

loongarch64-linux-crosstool-gcc-pkgbuild's Introduction

LoongArch64 GCC Toolchain for Arch Linux

简体中文

This is a PKGBUILD of LoongArch64 GCC Toolchain for Arch Linux, built with Crosstool-NG.

You will get a Pacman-compatible package. You can install for yourself, or install on other devices with Arch Linux (or derivatives) installed.

This project is based on a guide from Jiege's {maintaining, programming, and board debugging} Notes. Reference:

Features

  • Uses Jiege's Crosstool-NG fork with LoongArch64 support, and related config files. But he has removed the related branch, so this repo will use my own backup.
  • No need to install Crosstool-NG into your system. Instead, directly run it within makepkg procedures.
  • Obeys canonical path of cross-toolchains (like MinGW-w64 in Arch official repo).

Usage

1. Install dependencies of Crosstool-NG:

sudo pacman -S bison flex autoconf automake help2man

2. Build:

makepkg

3. Install:

sudo pacman -U loongarch64-linux-crosstool-gcc-12.1.0-1-x86_64.pkg.tar.zst

License

MIT License


为 Arch Linux 设计的 LoongArch64 GCC 工具链

这是适用于Arch Linux的LoongArch64 GCC工具链 PKGBUILD,借助Crosstool-NG来构建。

最终你会得到适用于Pacman的安装包,可以为自己安装,也可以在其他Arch Linux(或衍生版本)的设备上安装并运行。

本项目基于 杰哥的{运维,编程,调板子}小笔记 的经验教程而编写,参考了他的以下文章:

功能特性

  • 使用杰哥提供的Crosstool-NG(加入了LoongArch64支持),以及相关的配置文件。但是,原作者已经移除了相关分支,因此本repo将使用我的备份
  • 无需将Crosstool-NG安装到系统中,直接在makepkg过程中运行之。
  • 遵循交叉编译工具链的安装路径规范(如Arch官方源的MinGW-w64)。

用法

第一步, 安装Crosstool-ng依赖项:

sudo pacman -S bison flex autoconf automake help2man

第二步, 开始构建:

makepkg

第三步, 安装:

sudo pacman -U loongarch64-linux-crosstool-gcc-12.1.0-1-x86_64.pkg.tar.zst

许可证

MIT License

loongarch64-linux-crosstool-gcc-pkgbuild's People

Contributors

anclark 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.