On Sunday, 23 March 2014 at 20:33:15 UTC, Daniel Murphy wrote:
So a couple of years ago I had too much free time and wrote a
linker.
It's now on github: https://github.com/yebblies/ylink
Pros:
- Written in D
- Not written in assembly
- Not written before I was born
- Boost license
- Usually produces working executables
Cons:
- No debug information (yet)
- Slower than optlink
- Uses more memory than optlink (cannot run with < 64k of ram)
- Cannot produce DLLs (yet)
- Not really tested
It still needs a lot of work, but it's functional.
Potential uses:
- Replace optlink
- Replace microsoft linker (we could ship this with dmd)
- Call from dmd to do in-memory linking
- Experiment with linker optimizations
Enjoy!
If the debug info emitting thing is going to work properly, I'll
love to switch to ylink!
Finally x64 builds without having to use the ms linker --
awesome! :-)