caos-with-snake/setup.sh
Alexander Myltsev af760c928c Add setup.sh.
2022-12-12 19:07:48 +03:00

11 lines
235 B
Bash
Executable File

#!/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