Add setup.sh.

This commit is contained in:
Alexander Myltsev 2022-12-12 19:07:48 +03:00
parent f79a0a1cd7
commit af760c928c

10
setup.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh -x
if [ `uname` = Darwin ]; then
brew install \
x86_64-elf-binutils x86_64-elf-gcc \
x86_64-elf-gdb qemu
elif [ `uname` = Linux ]; then
sudo apt-get update
sudo apt-get install qemu-system-x86
fi