NO

Author Topic: Optlink linker source code available  (Read 5034 times)

CLR

  • Guest
Optlink linker source code available
« on: March 13, 2013, 07:39:00 PM »
Just a quick note.

Walter Bright announces: Optlink is on github

Excerpt from http://www.digitalmars.com/ctg/optlink.html

OPTLINK is a super-fast, high-capacity program linker. OPTLINK derives its spectacular speed from being written entirely in hand- tuned assembly language, making maximal use of multithreading and processor scheduling. It does full links faster than more pedestrian linkers do incremental links.

It should compile with MASM9 or 10. See also https://github.com/DigitalMars/optlink/pull/2

japheth

  • Guest
Re: Optlink linker source code available
« Reply #1 on: March 14, 2013, 01:44:27 PM »

Thanks!

I tried to build it, but failed.

The build process does not just need Masm, but - at least - also the DM C compiler.

When I launch build_optlink.bat, it starts to compile, but after a few modules, when trying to compile ntio\printf.c,  it complains that file scio.h cannot be found.  Actually, that file isn't included and it's also nowhere in the DM installation directory. So I gave up for now.


CLR

  • Guest
Re: Optlink linker source code available
« Reply #2 on: March 14, 2013, 03:15:15 PM »

Thanks!

I tried to build it, but failed.

The build process does not just need Masm, but - at least - also the DM C compiler.

When I launch build_optlink.bat, it starts to compile, but after a few modules, when trying to compile ntio\printf.c,  it complains that file scio.h cannot be found.  Actually, that file isn't included and it's also nowhere in the DM installation directory. So I gave up for now.

True. It requires the DMC source code, which is not free:
http://forum.dlang.org/thread/kcppa1$30b9$1@digitalmars.com?page=5#post-kd03at:2425op:241:40digitalmars.com

I should have tried to compile it before posting here. I'm sorry.
« Last Edit: March 16, 2013, 11:14:55 AM by Stefan Pendl »

japheth

  • Guest
Re: Optlink linker source code available
« Reply #3 on: March 15, 2013, 10:14:45 AM »
I should have tried to compile it before posting here. I'm sorry.

My post wasn't meant to be a complaint - just some info for other adventurers. Actually, I would have been very surprised if it worked out of the box - not because I have doubts in W. Bright's skills, but because I guess that the D thing requires virtually 100% of his attention already.