Created
October 13, 2020 13:02
-
-
Save milisarge/dac78cfc080c3cf00c1e62e0df7e3b0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root [ /opt/os-dev/resea ]# make build V=1 | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/Kconfig.autogen | |
GEN build/Kconfig.autogen | |
mkdir -p build | |
./tools/genkconfig.py -o build/Kconfig.autogen | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/include/config.h | |
GEN build/include/config.h | |
mkdir -p build/include | |
./tools/config.py --genconfig build/include/config.h | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/include/idl.h | |
GEN build/include/idl.h | |
mkdir -p build/include | |
./tools/genidl.py --idl interface.idl -o build/include/idl.h | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/boot.c | |
CC kernel/boot.c | |
mkdir -p build/kernel/kernel | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/boot.o kernel/boot.c -MD -MF build/kernel/kernel/boot.deps -MJ build/kernel/kernel/boot.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/task.c | |
CC kernel/task.c | |
mkdir -p build/kernel/kernel | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/task.o kernel/task.c -MD -MF build/kernel/kernel/task.deps -MJ build/kernel/kernel/task.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/ipc.c | |
CC kernel/ipc.c | |
mkdir -p build/kernel/kernel | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/ipc.o kernel/ipc.c -MD -MF build/kernel/kernel/ipc.deps -MJ build/kernel/kernel/ipc.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/syscall.c | |
CC kernel/syscall.c | |
mkdir -p build/kernel/kernel | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/syscall.o kernel/syscall.c -MD -MF build/kernel/kernel/syscall.deps -MJ build/kernel/kernel/syscall.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/printk.c | |
CC kernel/printk.c | |
mkdir -p build/kernel/kernel | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/printk.o kernel/printk.c -MD -MF build/kernel/kernel/printk.deps -MJ build/kernel/kernel/printk.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/kdebug.c | |
CC kernel/kdebug.c | |
mkdir -p build/kernel/kernel | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/kdebug.o kernel/kdebug.c -MD -MF build/kernel/kernel/kdebug.deps -MJ build/kernel/kernel/kdebug.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/arch/x64/task.c | |
CC kernel/arch/x64/task.c | |
mkdir -p build/kernel/kernel/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/arch/x64/task.o kernel/arch/x64/task.c -MD -MF build/kernel/kernel/arch/x64/task.deps -MJ build/kernel/kernel/arch/x64/task.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/arch/x64/vm.c | |
CC kernel/arch/x64/vm.c | |
mkdir -p build/kernel/kernel/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/arch/x64/vm.o kernel/arch/x64/vm.c -MD -MF build/kernel/kernel/arch/x64/vm.deps -MJ build/kernel/kernel/arch/x64/vm.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/arch/x64/serial.c | |
CC kernel/arch/x64/serial.c | |
mkdir -p build/kernel/kernel/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/arch/x64/serial.o kernel/arch/x64/serial.c -MD -MF build/kernel/kernel/arch/x64/serial.deps -MJ build/kernel/kernel/arch/x64/serial.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/vm/__name__.c | |
GEN build/vm/__name__.c | |
mkdir -p build/vm | |
echo "#include <types.h>" > build/vm/__name__.c | |
echo "const char *__program_name(void) { return \"vm\"; }" >> build/vm/__name__.c | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" build/vm/__name__.o | |
CC build/vm/__name__.o | |
mkdir -p build/vm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=ic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/vm/main.c | |
CC servers/vm/main.c | |
mkdir -p build/servers/vm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/vm/task.c | |
CC servers/vm/task.c | |
mkdir -p build/servers/vm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/vm/mm.c | |
CC servers/vm/mm.c | |
mkdir -p build/servers/vm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/vm/ool.c | |
CC servers/vm/ool.c | |
mkdir -p build/servers/vm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/vm/pages.c | |
CC servers/vm/pages.c | |
mkdir -p build/servers/vm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/vm/bootfs.c | |
CC servers/vm/bootfs.c | |
mkdir -p build/servers/vm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/dm/__name__.c | |
GEN build/dm/__name__.c | |
mkdir -p build/dm | |
echo "#include <types.h>" > build/dm/__name__.c | |
echo "const char *__program_name(void) { return \"dm\"; }" >> build/dm/__name__.c | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" build/dm/__name__.o | |
CC build/dm/__name__.o | |
mkdir -p build/dm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=ic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/dm/main.c | |
CC servers/dm/main.c | |
mkdir -p build/servers/dm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/dm/pci.c | |
CC servers/dm/pci.c | |
mkdir -p build/servers/dm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/string.c | |
CC libs/common/string.c | |
mkdir -p build/libs/common | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/vprintf.c | |
CC libs/common/vprintf.c | |
mkdir -p build/libs/common | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/ubsan.c | |
CC libs/common/ubsan.c | |
mkdir -p build/libs/common | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/bitmap.c | |
CC libs/common/bitmap.c | |
mkdir -p build/libs/common | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/arch/x64/memcpy.S | |
CC libs/common/arch/x64/memcpy.S | |
mkdir -p build/libs/common/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/libs/common.lib.o | |
LD build/libs/common.lib.o | |
ld.lld -r -o build/libs/common.lib.o build/libs/common/string.o build/libs/common/vprintf.o build/libs/common/ubsan.o build/libs/common/bitmap.o build/libs/common/arch/x64/memcpy.o | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/init.c | |
CC libs/resea/init.c | |
mkdir -p build/libs/resea | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/printf.c | |
CC libs/resea/printf.c | |
mkdir -p build/libs/resea | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/malloc.c | |
CC libs/resea/malloc.c | |
mkdir -p build/libs/resea | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/handle.c | |
CC libs/resea/handle.c | |
mkdir -p build/libs/resea | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/async.c | |
CC libs/resea/async.c | |
mkdir -p build/libs/resea | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/task.c | |
CC libs/resea/task.c | |
mkdir -p build/libs/resea | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/ipc.c | |
CC libs/resea/ipc.c | |
mkdir -p build/libs/resea | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/timer.c | |
CC libs/resea/timer.c | |
mkdir -p build/libs/resea | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/cmdline.c | |
CC libs/resea/cmdline.c | |
mkdir -p build/libs/resea | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/resea/arch/x64/start.S | |
CC libs/resea/arch/x64/start.S | |
mkdir -p build/libs/resea/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/libs/resea.lib.o | |
LD build/libs/resea.lib.o | |
ld.lld -r -o build/libs/resea.lib.o build/libs/resea/init.o build/libs/resea/printf.o build/libs/resea/malloc.o build/libs/resea/handle.o build/libs/resea/async.o build/libs/resea/task.o build/libs/resea/ipc.o o | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/unittest/dummy.c | |
CC libs/unittest/dummy.c | |
mkdir -p build/libs/unittest | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/libs/unittest.lib.o | |
LD build/libs/unittest.lib.o | |
ld.lld -r -o build/libs/unittest.lib.o build/libs/unittest/dummy.o | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/driver/dma.c | |
CC libs/driver/dma.c | |
mkdir -p build/libs/driver | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/driver/io.c | |
CC libs/driver/io.c | |
mkdir -p build/libs/driver | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/driver/irq.c | |
CC libs/driver/irq.c | |
mkdir -p build/libs/driver | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/libs/driver.lib.o | |
LD build/libs/driver.lib.o | |
ld.lld -r -o build/libs/driver.lib.o build/libs/driver/dma.o build/libs/driver/io.o build/libs/driver/irq.o | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/dm.debug.elf | |
LD build/dm.debug.elf | |
ld.lld --script=libs/resea/arch/x64/user.ld \ | |
-Map build/dm.map -o build/dm.debug.elf.tmp build/dm/__name__.o build/servers/dm/main.o build/servers/dm/pci.o build/libs/common.lib.o build/libs/resea.lib.o build/libs/unittest.lib.o build/libs/driv | |
llvm-nm build/dm.debug.elf.tmp | ./tools/nm2symbols.py > build/dm.symbols | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "SYMBOLS" build/dm.debug.elf | |
SYMBOLS build/dm.debug.elf | |
./tools/embed-symbols.py build/dm.symbols build/dm.debug.elf.tmp | |
mv build/dm.debug.elf.tmp build/dm.debug.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "STRIP" build/dm.elf | |
STRIP build/dm.elf | |
llvm-objcopy --strip-all-gnu --strip-debug build/dm.debug.elf build/dm.elf | |
./tools/embed-bootelf-header.py --name=dm build/dm.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/e1000/__name__.c | |
GEN build/e1000/__name__.c | |
mkdir -p build/e1000 | |
echo "#include <types.h>" > build/e1000/__name__.c | |
echo "const char *__program_name(void) { return \"e1000\"; }" >> build/e1000/__name__.c | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" build/e1000/__name__.o | |
CC build/e1000/__name__.o | |
mkdir -p build/e1000 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=ic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/drivers/net/e1000/main.c | |
CC servers/drivers/net/e1000/main.c | |
mkdir -p build/servers/drivers/net/e1000 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/drivers/net/e1000/e1000.c | |
CC servers/drivers/net/e1000/e1000.c | |
mkdir -p build/servers/drivers/net/e1000 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/e1000.debug.elf | |
LD build/e1000.debug.elf | |
ld.lld --script=libs/resea/arch/x64/user.ld \ | |
-Map build/e1000.map -o build/e1000.debug.elf.tmp build/e1000/__name__.o build/servers/drivers/net/e1000/main.o build/servers/drivers/net/e1000/e1000.o build/libs/common.lib.o build/libs/resea.lib.o b | |
llvm-nm build/e1000.debug.elf.tmp | ./tools/nm2symbols.py > build/e1000.symbols | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "SYMBOLS" build/e1000.debug.elf | |
SYMBOLS build/e1000.debug.elf | |
./tools/embed-symbols.py build/e1000.symbols build/e1000.debug.elf.tmp | |
mv build/e1000.debug.elf.tmp build/e1000.debug.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "STRIP" build/e1000.elf | |
STRIP build/e1000.elf | |
llvm-objcopy --strip-all-gnu --strip-debug build/e1000.debug.elf build/e1000.elf | |
./tools/embed-bootelf-header.py --name=e1000 build/e1000.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/example/__name__.c | |
GEN build/example/__name__.c | |
mkdir -p build/example | |
echo "#include <types.h>" > build/example/__name__.c | |
echo "const char *__program_name(void) { return \"example\"; }" >> build/example/__name__.c | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" build/example/__name__.o | |
CC build/example/__name__.o | |
mkdir -p build/example | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=ic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/example/main.c | |
CC servers/example/main.c | |
mkdir -p build/servers/example | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/example.debug.elf | |
LD build/example.debug.elf | |
ld.lld --script=libs/resea/arch/x64/user.ld \ | |
-Map build/example.map -o build/example.debug.elf.tmp build/example/__name__.o build/servers/example/main.o build/libs/common.lib.o build/libs/resea.lib.o build/libs/unittest.lib.o | |
llvm-nm build/example.debug.elf.tmp | ./tools/nm2symbols.py > build/example.symbols | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "SYMBOLS" build/example.debug.elf | |
SYMBOLS build/example.debug.elf | |
./tools/embed-symbols.py build/example.symbols build/example.debug.elf.tmp | |
mv build/example.debug.elf.tmp build/example.debug.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "STRIP" build/example.elf | |
STRIP build/example.elf | |
llvm-objcopy --strip-all-gnu --strip-debug build/example.debug.elf build/example.elf | |
./tools/embed-bootelf-header.py --name=example build/example.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/fatfs/__name__.c | |
GEN build/fatfs/__name__.c | |
mkdir -p build/fatfs | |
echo "#include <types.h>" > build/fatfs/__name__.c | |
echo "const char *__program_name(void) { return \"fatfs\"; }" >> build/fatfs/__name__.c | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" build/fatfs/__name__.o | |
CC build/fatfs/__name__.o | |
mkdir -p build/fatfs | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=ic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/fs/fatfs/main.c | |
CC servers/fs/fatfs/main.c | |
mkdir -p build/servers/fs/fatfs | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/fs/fatfs/fat.c | |
CC servers/fs/fatfs/fat.c | |
mkdir -p build/servers/fs/fatfs | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/fatfs.debug.elf | |
LD build/fatfs.debug.elf | |
ld.lld --script=libs/resea/arch/x64/user.ld \ | |
-Map build/fatfs.map -o build/fatfs.debug.elf.tmp build/fatfs/__name__.o build/servers/fs/fatfs/main.o build/servers/fs/fatfs/fat.o build/libs/common.lib.o build/libs/resea.lib.o build/libs/unittest.l | |
llvm-nm build/fatfs.debug.elf.tmp | ./tools/nm2symbols.py > build/fatfs.symbols | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "SYMBOLS" build/fatfs.debug.elf | |
SYMBOLS build/fatfs.debug.elf | |
./tools/embed-symbols.py build/fatfs.symbols build/fatfs.debug.elf.tmp | |
mv build/fatfs.debug.elf.tmp build/fatfs.debug.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "STRIP" build/fatfs.elf | |
STRIP build/fatfs.elf | |
llvm-objcopy --strip-all-gnu --strip-debug build/fatfs.debug.elf build/fatfs.elf | |
./tools/embed-bootelf-header.py --name=fatfs build/fatfs.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/hello/__name__.c | |
GEN build/hello/__name__.c | |
mkdir -p build/hello | |
echo "#include <types.h>" > build/hello/__name__.c | |
echo "const char *__program_name(void) { return \"hello\"; }" >> build/hello/__name__.c | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" build/hello/__name__.o | |
CC build/hello/__name__.o | |
mkdir -p build/hello | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=ic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/apps/hello/main.c | |
CC servers/apps/hello/main.c | |
mkdir -p build/servers/apps/hello | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/hello.debug.elf | |
LD build/hello.debug.elf | |
ld.lld --script=libs/resea/arch/x64/user.ld \ | |
-Map build/hello.map -o build/hello.debug.elf.tmp build/hello/__name__.o build/servers/apps/hello/main.o build/libs/common.lib.o build/libs/resea.lib.o build/libs/unittest.lib.o | |
llvm-nm build/hello.debug.elf.tmp | ./tools/nm2symbols.py > build/hello.symbols | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "SYMBOLS" build/hello.debug.elf | |
SYMBOLS build/hello.debug.elf | |
./tools/embed-symbols.py build/hello.symbols build/hello.debug.elf.tmp | |
mv build/hello.debug.elf.tmp build/hello.debug.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "STRIP" build/hello.elf | |
STRIP build/hello.elf | |
llvm-objcopy --strip-all-gnu --strip-debug build/hello.debug.elf build/hello.elf | |
./tools/embed-bootelf-header.py --name=hello build/hello.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/shell/__name__.c | |
GEN build/shell/__name__.c | |
mkdir -p build/shell | |
echo "#include <types.h>" > build/shell/__name__.c | |
echo "const char *__program_name(void) { return \"shell\"; }" >> build/shell/__name__.c | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" build/shell/__name__.o | |
CC build/shell/__name__.o | |
mkdir -p build/shell | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=ic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/shell/main.c | |
CC servers/shell/main.c | |
mkdir -p build/servers/shell | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/shell/commands.c | |
CC servers/shell/commands.c | |
mkdir -p build/servers/shell | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/shell/http.c | |
CC servers/shell/http.c | |
mkdir -p build/servers/shell | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/shell/fs.c | |
CC servers/shell/fs.c | |
mkdir -p build/servers/shell | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/shell.debug.elf | |
LD build/shell.debug.elf | |
ld.lld --script=libs/resea/arch/x64/user.ld \ | |
-Map build/shell.map -o build/shell.debug.elf.tmp build/shell/__name__.o build/servers/shell/main.o build/servers/shell/commands.o build/servers/shell/http.o build/servers/shell/fs.o build/libs/common.l | |
llvm-nm build/shell.debug.elf.tmp | ./tools/nm2symbols.py > build/shell.symbols | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "SYMBOLS" build/shell.debug.elf | |
SYMBOLS build/shell.debug.elf | |
./tools/embed-symbols.py build/shell.symbols build/shell.debug.elf.tmp | |
mv build/shell.debug.elf.tmp build/shell.debug.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "STRIP" build/shell.elf | |
STRIP build/shell.elf | |
llvm-objcopy --strip-all-gnu --strip-debug build/shell.debug.elf build/shell.elf | |
./tools/embed-bootelf-header.py --name=shell build/shell.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "MKBOOTFS" build/bootfs.bin | |
MKBOOTFS build/bootfs.bin | |
python3 tools/mkbootfs.py -o build/bootfs.bin build/dm.elf build/e1000.elf build/example.elf build/fatfs.elf build/hello.elf build/shell.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" servers/vm/bootfs_image.S | |
CC servers/vm/bootfs_image.S | |
mkdir -p build/servers/vm | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/elf/dummy.c | |
CC libs/elf/dummy.c | |
mkdir -p build/libs/elf | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=in | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/libs/elf.lib.o | |
LD build/libs/elf.lib.o | |
ld.lld -r -o build/libs/elf.lib.o build/libs/elf/dummy.o | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/vm.debug.elf | |
LD build/vm.debug.elf | |
ld.lld --script=libs/resea/arch/x64/user.ld \ | |
-Map build/vm.map -o build/vm.debug.elf.tmp build/vm/__name__.o build/servers/vm/main.o build/servers/vm/task.o build/servers/vm/mm.o build/servers/vm/ool.o build/servers/vm/pages.o build/servers/vm/boo | |
llvm-nm build/vm.debug.elf.tmp | ./tools/nm2symbols.py > build/vm.symbols | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "SYMBOLS" build/vm.debug.elf | |
SYMBOLS build/vm.debug.elf | |
./tools/embed-symbols.py build/vm.symbols build/vm.debug.elf.tmp | |
mv build/vm.debug.elf.tmp build/vm.debug.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "STRIP" build/vm.elf | |
STRIP build/vm.elf | |
llvm-objcopy --strip-all-gnu --strip-debug build/vm.debug.elf build/vm.elf | |
./tools/embed-bootelf-header.py --name=vm build/vm.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/arch/x64/boot.S | |
CC kernel/arch/x64/boot.S | |
mkdir -p build/kernel/kernel/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/arch/x64/boot.o kernel/arch/x64/boot.S -MD -MF build/kernel/kernel/arch/x64/boot.deps -MJ build/kernel/kernel/arch/x64/boot.json | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/arch/x64/init.c | |
CC kernel/arch/x64/init.c | |
mkdir -p build/kernel/kernel/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/arch/x64/init.o kernel/arch/x64/init.c -MD -MF build/kernel/kernel/arch/x64/init.deps -MJ build/kernel/kernel/arch/x64/init.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/arch/x64/interrupt.c | |
CC kernel/arch/x64/interrupt.c | |
mkdir -p build/kernel/kernel/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/arch/x64/interrupt.o kernel/arch/x64/interrupt.c -MD -MF build/kernel/kernel/arch/x64/interrupt.deps -MJ build/kernel/kernel/arch/x64/interrupt.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/arch/x64/trap.S | |
CC kernel/arch/x64/trap.S | |
mkdir -p build/kernel/kernel/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/arch/x64/trap.o kernel/arch/x64/trap.S -MD -MF build/kernel/kernel/arch/x64/trap.deps -MJ build/kernel/kernel/arch/x64/trap.json | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" kernel/arch/x64/mp.c | |
CC kernel/arch/x64/mp.c | |
mkdir -p build/kernel/kernel/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/kernel/arch/x64/mp.o kernel/arch/x64/mp.c -MD -MF build/kernel/kernel/arch/x64/mp.deps -MJ build/kernel/kernel/arch/x64/mp.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/string.c | |
CC libs/common/string.c | |
mkdir -p build/kernel/libs/common | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/libs/common/string.o libs/common/string.c -MD -MF build/kernel/libs/common/string.deps -MJ build/kernel/libs/common/string.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/vprintf.c | |
CC libs/common/vprintf.c | |
mkdir -p build/kernel/libs/common | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/libs/common/vprintf.o libs/common/vprintf.c -MD -MF build/kernel/libs/common/vprintf.deps -MJ build/kernel/libs/common/vprintf.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/ubsan.c | |
CC libs/common/ubsan.c | |
mkdir -p build/kernel/libs/common | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/libs/common/ubsan.o libs/common/ubsan.c -MD -MF build/kernel/libs/common/ubsan.deps -MJ build/kernel/libs/common/ubsan.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/bitmap.c | |
CC libs/common/bitmap.c | |
mkdir -p build/kernel/libs/common | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/libs/common/bitmap.o libs/common/bitmap.c -MD -MF build/kernel/libs/common/bitmap.deps -MJ build/kernel/libs/common/bitmap.json | |
: --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=implic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" libs/common/arch/x64/memcpy.S | |
CC libs/common/arch/x64/memcpy.S | |
mkdir -p build/kernel/libs/common/arch/x64 | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=i\ | |
-c -o build/kernel/libs/common/arch/x64/memcpy.o libs/common/arch/x64/memcpy.S -MD -MF build/kernel/libs/common/arch/x64/memcpy.deps -MJ build/kernel/libs/common/arch/x64/memcpy.json | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/kernel/__name__.c | |
GEN build/kernel/__name__.c | |
mkdir -p build/kernel | |
echo "const char *__program_name(void) { return \"kernel\"; }" > build/kernel/__name__.c | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "CC" build/kernel/__name__.c | |
CC build/kernel/__name__.c | |
clang --target=x86_64 -mcmodel=large -fno-omit-frame-pointer -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-avx -mno-avx2 -g3 -std=c11 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Werror=ic | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "LD" build/resea.elf | |
LD build/resea.elf | |
ld.lld --script=kernel/arch/x64/kernel.ld -Map build/resea.map -o build/resea.elf.tmp \ | |
build/kernel/kernel/boot.o build/kernel/kernel/task.o build/kernel/kernel/ipc.o build/kernel/kernel/syscall.o build/kernel/kernel/printk.o build/kernel/kernel/kdebug.o build/kernel/kernel/arch/x64/tasko | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/resea.symbols | |
GEN build/resea.symbols | |
llvm-nm build/resea.elf.tmp | ./tools/nm2symbols.py > build/resea.symbols | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "SYMBOLS" build/resea.elf | |
SYMBOLS build/resea.elf | |
./tools/embed-symbols.py build/resea.symbols build/resea.elf.tmp | |
cp build/resea.elf.tmp build/resea.elf | |
printf " \\033[1;96m%8s\\033[0m \\033[1;m%s\\033[0m\\n" "GEN" build/compile_commands.json | |
GEN build/compile_commands.json | |
python3 tools/merge-compile-commands.py \ | |
-o build/compile_commands.json \ | |
build/kernel/kernel/arch/x64/interrupt.json build/kernel/kernel/arch/x64/trap.json build/kernel/kernel/arch/x64/mp.json build/kernel/kernel/arch/x64/boot.json build/kernel/kernel/arch/x64/task.json builn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment