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 ⚙
- Host: GitHub
- URL: https://github.com/giovanni-iannaccone/gcc-cross-compiler-builder
- Owner: giovanni-iannaccone
- License: gpl-3.0
- Created: 2024-09-07T08:02:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-22T15:12:49.000Z (12 months ago)
- Last Synced: 2025-07-08T22:02:33.462Z (3 months ago)
- Topics: bash, bash-script, binutils, cross-compiler, gcc, gcc-cross-compiler, linux, os-dev
- Language: Shell
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
![]()
![]()
![]()
![]()
## Resources 📚
For more informations about cross compilers and their importance in os development check wiki.osdev.org