Fedora kinda maybe stuff
This commit is contained in:
parent
ecac878361
commit
b0998e2561
10
build.sh
10
build.sh
@ -1,6 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo apt-get install clang yasm genext2fs build-essential wget libmpfr-dev libmpc-dev libgmp-dev qemu autoconf automake texinfo
|
||||
if [ -f /etc/lsb-release ]; then
|
||||
sudo apt-get install clang yasm genext2fs build-essential wget libmpfr-dev libmpc-dev libgmp-dev qemu autoconf automake texinfo
|
||||
elif [ -f /etc/fedora-release ]; then
|
||||
sudo yum groupinstall 'Development Tools'
|
||||
sudo yum groupinstall 'Development Libraries'
|
||||
sudo yum install clang yasm mpfr-devel libmpc-devel gmp-devel
|
||||
echo "Warning: Fedora is unsupported in this script. Be careful!"
|
||||
echo "For best results, follow the steps in the script manually."
|
||||
fi
|
||||
# Build the toolchain:
|
||||
pushd toolchain
|
||||
./prepare.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user