This is my first post in your community so, hi everybody! =D
I'm introducing myself to the world of OS development and, after reading the introductory entries at the wiki, I have arrived at the Bare Bones tutorial.
I have produced a current version of binutils of gcc, and then I have used them to produce the i686-elf cross compiler. I have checked everything is in place and my PATH is correct and I'm calling the correct files.
So, finally, I arrive to the first file we have to assemble, boot.s. I copy it to a new file and I try to assemble it with the new tool, obtaining this error:
Code: Select all
lm@gaia:~/build/src/bbones$ i686-elf-as boot.s -o boot.o
boot.s: Assembler messages:
boot.s:57: Error: invalid operands (*UND* and *UND* sections) for `%'
Code: Select all
movl $stack_top, %esp
Thanks!
lm