I am trying to follow the tutorials in this link.
When I get down to the part where I start making a test.c file, I try to run the first compilation line.
gcc -std=c99 -c -g -Os -march=i686 -m32 -ffreestanding -Wall -Werror test.c -o test.o ld -static -T test.ld -m elf_i386 -nostdlib --nmagic -o test.elf test.o