[comp.sys.amiga.tech] Porting Gnu-LD

abbadon@nuchat.UUCP (David Neal) (01/15/89)

[ Line eaters are just Gnu-ADA I/O Pakckages ]

Anyone interested in a free 'C' compiler?

Great, then listen to this:

I'm trying to port the gnu 'c' compiler, and the lowest
link (the linker) is the hardest.

I don't have any documentation on how to write an executable
from scratch. What do executable file headers look like?
 
Any pointers (**q) to sample code (*sample_code) or
to references (like, is this in the develepor's docs?)
would be greatly appreciated.


aTdHvAaNnKcSe
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Neal
{killer!texbell | uunet}!nuchat!abbadon

george@iguanodon.cis.ohio-state.edu (George M. Jones) (01/31/89)

In article <2816@nuchat.UUCP> abbadon@nuchat.UUCP (David Neal) writes:
>

>I'm trying to port the gnu 'c' compiler, and the lowest
>link (the linker) is the hardest.

If you mean porting it to run native on, say, a floppy based Amiga 1000
or 500 without extra memory the linker should be the easiest part.  The
sheer size of the sources will cause problems (1.32 is 2.4 meg compressed)
but more power to you if you succeed....

>
>I don't have any documentation on how to write an executable
>from scratch. What do executable file headers look like?

Try the Amiga DOS technical reference manual.

---George Jones
-=-
OSU Computer & Inf. Science 2036 Neil Ave.,Columbus,Ohio 43210. 614-292-7325
george@cis.ohio-state.edu or ...!osu-cis!george
Stop everything...and have yourself the merriest Christmas ever !