Page 1 of 1

Getting GCC to produce a.out

Posted: Sat Jun 07, 2003 11:00 pm
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

RE:Getting GCC to produce a.out

Posted: Sat Jun 07, 2003 11:00 pm
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