forked from dbenshachar/mini-os
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.bash
More file actions
Latest commit
executable file
·11 lines (11 loc) · 439 Bytes
/
Copy pathrun.bash
File metadata and controls
executable file
·11 lines (11 loc) · 439 Bytes
1
2
3
4
5
6
7
8
9
10
11
osascript <<APPLESCRIPT
tellapplication"Terminal"
do script"cd '$(pwd)' && bash -lc 'set -euo pipefail; \
aarch64-elf-as start.S -o start.o; \
aarch64-elf-gcc -ffreestanding -fno-pic -c kernel.c -o kernel.o; \
aarch64-elf-ld -nostdlib -T linker.ld -o kernel.elf start.o kernel.o; \
qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -serial mon:stdio -kernel kernel.elf; \
exec bash -i'"
activate
end tell
APPLESCRIPT