From edf9e71e2a7b6b89775c29cf28c19c6b89992c25 Mon Sep 17 00:00:00 2001 From: aqua Date: Mon, 28 Mar 2022 20:03:38 +0300 Subject: Initial commit x86 kernel that prints a hello world message to com1 --- arch/i686/toolchain.ini | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 arch/i686/toolchain.ini (limited to 'arch/i686/toolchain.ini') diff --git a/arch/i686/toolchain.ini b/arch/i686/toolchain.ini new file mode 100644 index 0000000..6f6b5ef --- /dev/null +++ b/arch/i686/toolchain.ini @@ -0,0 +1,18 @@ +[constants] +arch = 'i686' + +[host_machine] +system = 'none' +cpu_family = 'x86' +cpu = 'i686' +endian = 'little' + +[binaries] +c = 'i686-elf-gcc' +ar = 'i686-elf-ar' +strip = 'i686-elf-strip' + +[built-in options] +c_args = ['-fanalyzer', '-ffreestanding'] +c_link_args = [ '-static', '-nostdlib', '-T', 'arch/i686/linker.ld' ] + -- cgit v1.2.1