sh-elf-gcc/uninstall.sh
Lephenixnoir 6cbd8270ca
initial building script
* 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
2020-12-30 23:03:15 +01:00

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