ciabatta/b

15 lines
262 B
Plaintext
Raw Normal View History

2023-08-02 03:43:07 +00:00
#!/bin/bash
nasm \
-f elf64 \
-o bin/loader-entry.o \
src/loader/loader-entry.asm
clang -static -shared \
-nostdlib \
-ffreestanding \
-I src/include \
-o lib/ld.so \
-Wl,-e,_dlstart \
bin/loader-entry.o src/loader/loader.c