Bonjour. Par curiosité,j'essaie de faire un petit noyau qui boote et affiche bonjour ou un truc du style. Je suis donc le tuto ici:
http://aaprog.free.fr/?page=os/firstcompile
Le seul problème est que, après avoir tapé ces commandes
j'ai l'erreur suivante que je n'arrive pas a faire partir (j'ai un processeur 64 bits) :nasm -s -f elf -w+orphan-labels -o start.o start.asm
gcc -c -o main.o -m386 -Wall -Werror -nostdlib -nostartfiles -nodefaultlibs main.c
ld -T link.ld --oformat=elf32-i386 -Map map.txt -o kernel.bin start.o main.o
ld: i386 architecture of input file `main.o' is incompatible with i386:86-64 output
Partager