creating raw executables with gas
Posted: Sat Jan 12, 2008 6:32 pm
Hello all,
Sorry if this question is old, I searched around for a solution but could find one.
I'm attempting to write all of my boot sector code using the gnu assembler. The problem is that when I assemble and link, it creates a Linux executable. I just want it to create a raw executable that can be run on system start up.
Can some one tell me the assembler and linker directives that I need to pass to get this output?
Thanks,
Sorry if this question is old, I searched around for a solution but could find one.
I'm attempting to write all of my boot sector code using the gnu assembler. The problem is that when I assemble and link, it creates a Linux executable. I just want it to create a raw executable that can be run on system start up.
Can some one tell me the assembler and linker directives that I need to pass to get this output?
Thanks,