mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-gcc.git
synced 2024-12-28 04:23:39 +01:00
6cbd8270ca
* Try to check dependencies with pacman or apt * Download and extract archives (supporting gzip and xz) * Configure and build GCC and binutils (redirecting output to file, hoping that everything goes well) * Clean up uneeded files after building * Check for conflicting builds of sh-elf-gcc in the PATH * Offer to update the profile to set the PATH at login
7 lines
227 B
Bash
Executable file
7 lines
227 B
Bash
Executable file
#! /usr/bin/env bash
|
|
|
|
rm -rf bin/ include/ lib/ libexec/ sh3eb-elf/ share/
|
|
rm -rf binutils-*/ binutils-*.tar.* gcc-*/ gcc-*.tar.*
|
|
rm -rf build-binutils/ build-gcc/
|
|
|
|
echo "<sh-elf-gcc> You can now remove $1/bin from your PATH."
|