An open API service indexing awesome lists of open source software.

https://github.com/giovanni-iannaccone/gcc-cross-compiler-builder

Script to easly build gcc cross compilers ⚙
https://github.com/giovanni-iannaccone/gcc-cross-compiler-builder

bash bash-script binutils cross-compiler gcc gcc-cross-compiler linux os-dev

Last synced: 3 months ago
JSON representation

Script to easly build gcc cross compilers ⚙

Awesome Lists containing this project

README

          

# Gcc cross compiler builder 🔧
A script to easly build a gcc cross compiler

## Installation 📂
first clone the github repo:
```
git clone https://github.com/giovanni-iannaccone/gcc-cross-compiler-builder
```
then add execution permission to the script
```
cd gcc-cross-compiler-builder
chmod +x crossbuilder.sh
```

## Usage 🕹
```
./crossbuilder.sh -b [BINUTILS VERSION] -g [GCC VERSION] -t [TARGET SYSTEM]

-b | --binutils the binutils version the script is going to install in your system
-g | --gcc the gcc version the script is going to install in your system
-t | --target the target system
```

> [!IMPORTANT]
> Binutils and GCC must be compatible versions, check here for successful builds.

> Versions that were released around the same time should be compatible.

## Compatible OS 🐧
The script will work only on operating systems based on:


Arch
Debian
Gentoo
RedHat

## Resources 📚
For more informations about cross compilers and their importance in os development check wiki.osdev.org