Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Thanks, Mezo
Now it can recognise them as a.out but it comes out in a different error this time: main.o:main.c:(.text+0x94): undefined reference to '___main'
Once again, help appreciated!
I guess one way would be to look at cross-compiling binutils on cygwin/mingw? Could you give a higher-level overview of what you are trying to achieve and why you need to be tied to a.out? It may be that with a it more detail there's an alternative solution to the problem.
I am going to try compiling everything under Linux (through VirtualPC) and see if that works.
If not, then I will start to look into a.out alternatives.
Thanks for the great response overall so far, though
I am making this as an extremely minimal OS which I am building up from part of a tutorial,
which used a.out (nasm -f aout -o start.o start.asm)
So I'm not entirely sure whether everything will work together if I change the object format for start.o
The canon solution for this error in general is the GCC Cross-Compiler. In your case Searching should have been sufficient.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]