Getting GCC to produce a.out

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.
Post Reply
Dinomon

Getting GCC to produce a.out

Post by Dinomon »

Hi folks. I've been trying to get GCC/LD to produce a.out for several hours now,
but for some reason it won't and nowhere on the entire Internet can I find some
clue as to what I'm doing wrong.

So if anyone here knows how to pull it off... help! I can't possibly be the
only one who doesn't like pure binary and thinks ELF is to complex?

BTW, I'm using the GCC/LD/etc that comes with a standard RedHat 8.0 install.

TIA dinomon
Jamethiel

RE:Getting GCC to produce a.out

Post by Jamethiel »

First off, GCC no longer supports a.out.

Secondly, even if it did, you'd have to recompile it with a.out support, which is a non-trivial excersize.

I agree with you as far as ELF being too complex, but I find pure binary to be quite servicable. Of course, I also tend not to use C for OS dev work, but that's another story.

--Jamethiel
Post Reply