Re: Experimental win32 OMF linker written in D now on github

2014-04-09 Thread Andrej Mitrovic
On 4/9/14, asman  wrote:
> Now which I update I lost all the PDFs in this repo. :(

Here you go, see the ylink_docs folder:
https://github.com/AndrejMitrovic/linker_resources


Re: Experimental win32 OMF linker written in D now on github

2014-04-09 Thread asman

On Wednesday, 2 April 2014 at 04:16:55 UTC, Daniel Murphy wrote:
"Jay Norwood"  wrote in message 
news:tsyxasgqmrkmuolmf...@forum.dlang.org...


Is there a test suite that you have to pass to declare it 
fully functional?


Not that I know of, but it _almost_ passes the dmd test suite 
(3 failures). I'm slowly refactoring it so I can build a 
comprehensive test suite.


Now which I update I lost all the PDFs in this repo. :(


Re: Experimental win32 OMF linker written in D now on github

2014-04-01 Thread Daniel Murphy

"Jay Norwood"  wrote in message news:tsyxasgqmrkmuolmf...@forum.dlang.org...

Is there a test suite that you have to pass to declare it fully 
functional?


Not that I know of, but it _almost_ passes the dmd test suite (3 failures). 
I'm slowly refactoring it so I can build a comprehensive test suite. 



Re: Experimental win32 OMF linker written in D now on github

2014-03-27 Thread Jay Norwood

On Sunday, 23 March 2014 at 20:33:15 UTC, Daniel Murphy wrote:


It still needs a lot of work, but it's functional.



Is there a test suite that you have to pass to declare it fully 
functional?




Re: Experimental win32 OMF linker written in D now on github

2014-03-26 Thread Colden Cullen

On Wednesday, 26 March 2014 at 15:33:39 UTC, Daniel Murphy wrote:
Now updated with basic mscoff32 support - although dmd doesn't 
emit that file format, it does mean you can link the standard 
import libraries into your normal D applications, instead of 
having to convert them to omf.


This is a super helpful feature. I can't think of a single 
library I've used that has provided an OMF library or import 
library, and converting is a pain in the butt. Thank you thank 
you thank you for this.


Re: Experimental win32 OMF linker written in D now on github

2014-03-26 Thread Rikki Cattermole

On Wednesday, 26 March 2014 at 15:33:39 UTC, Daniel Murphy wrote:
"Daniel Murphy"  wrote in message 
news:lgngea$1ccj$1...@digitalmars.com...


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


Now updated with basic mscoff32 support - although dmd doesn't 
emit that file format, it does mean you can link the standard 
import libraries into your normal D applications, instead of 
having to convert them to omf.


Hello world compiled with msvc works, but more complicated 
(C++) stuff most likely doesn't yet.  (comdat aka templates 
might be buggy, and tls probably doesn't work)


Ooo oo yes please :)
Maybe one day bye bye Optlink!


Re: Experimental win32 OMF linker written in D now on github

2014-03-26 Thread Daniel Murphy

"Daniel Murphy"  wrote in message news:lgngea$1ccj$1...@digitalmars.com...


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


Now updated with basic mscoff32 support - although dmd doesn't emit that 
file format, it does mean you can link the standard import libraries into 
your normal D applications, instead of having to convert them to omf.


Hello world compiled with msvc works, but more complicated (C++) stuff most 
likely doesn't yet.  (comdat aka templates might be buggy, and tls probably 
doesn't work) 



Re: Experimental win32 OMF linker written in D now on github

2014-03-26 Thread Steve Teale

On Tuesday, 25 March 2014 at 03:27:07 UTC, Jack Applegame wrote:

Nifty!

I love this Pro:


- Usually produces working executables


:)


Me too. But not more than ">>Written in D" :)

But the best is "Not written before I was born" :)


When I was a lad we had to 

Steve


Re: Experimental win32 OMF linker written in D now on github

2014-03-24 Thread Jack Applegame

On Tuesday, 25 March 2014 at 02:24:39 UTC, Asman01 wrote:

On Monday, 24 March 2014 at 22:30:45 UTC, Nick Sabalausky wrote:

On 3/23/2014 4:33 PM, 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



Nifty!

I love this Pro:


- Usually produces working executables


:)


Me too. But not more than ">>Written in D" :)

But the best is "Not written before I was born" :)


Re: Experimental win32 OMF linker written in D now on github

2014-03-24 Thread Asman01

On Monday, 24 March 2014 at 22:30:45 UTC, Nick Sabalausky wrote:

On 3/23/2014 4:33 PM, 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



Nifty!

I love this Pro:


- Usually produces working executables


:)


Me too. But not more than ">>Written in D" :)


Re: Experimental win32 OMF linker written in D now on github

2014-03-24 Thread Nick Sabalausky

On 3/23/2014 4:33 PM, 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



Nifty!

I love this Pro:


- Usually produces working executables


:)


Re: Experimental win32 OMF linker written in D now on github

2014-03-24 Thread Alexander Bothe

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! :-)


Experimental win32 OMF linker written in D now on github

2014-03-23 Thread Daniel Murphy

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!