Hi everyone.
I was wondering if you know about any tutorials , source code , or any information about creating linkers.
I actually thought it would be easy to download ld - the gnu linker sources , but I didn't manage to find it , maybe because "ld" is such a short name ,
or just because trying to link is more common then trying to create a linker.
thanks in advance,
realcr.
http://sources.redhat.com/binutils/
To create a linker, it'll be insanely harder to start with the source of LD. Because you simply need to know the file-formats. LD's srccode should be just a resource for tips on how to make your linker.
two other linkers which understand COFF and where source is available are:
- Open Watcom WLINK
- LadSoft VALX
They are not easy to understand, though, because they accept not only COFF but also OMF (16-bit and 32-bit), which makes things ways more complicated.