x86_64-elf-gcc

GNU compiler collection for x86_64-elf bare-metal targets

brewmacoslinux
Try with needOr install directly
Source

About

GNU compiler collection for x86_64-elf

Commands

x86_64-elf-gccx86_64-elf-g++x86_64-elf-asx86_64-elf-ldx86_64-elf-objdumpx86_64-elf-objcopy

Examples

Compile a C program for x86_64 bare-metal target$ x86_64-elf-gcc -c kernel.c -o kernel.o
Link object files into an executable ELF binary$ x86_64-elf-ld kernel.o boot.o -o kernel.elf
Inspect compiled binary sections and symbols$ x86_64-elf-objdump -h -S kernel.elf