Re: Yet more OPTLINK woes

2010-06-15 Thread torhu
On 15.06.2010 01:34, torhu wrote: On 13.05.2010 21:07, torhu wrote: On 13.05.2010 10:39, Daniel Keep wrote: Attached both regular and decaffeinated^Hgutted versions. Most likely DMD turns VisitorCtfe.d into an invalid object file. But since you don't need to link with objects that contain

Re: Yet more OPTLINK woes

2010-06-14 Thread torhu
On 13.05.2010 21:07, torhu wrote: On 13.05.2010 10:39, Daniel Keep wrote: Attached both regular and decaffeinated^Hgutted versions. Most likely DMD turns VisitorCtfe.d into an invalid object file. But since you don't need to link with objects that contain only ctfe functions...

Re: Yet more OPTLINK woes

2010-05-17 Thread Nick Sabalausky
div0 d...@users.sourceforge.net wrote in message news:hshfe9$o0...@digitalmars.com... Strange what OPTLINK is doing; normally it crashes at the drop of a hat, so it seems unreasonable that it processes the .obj a bit then (un)successfully exits. Maybe the .obj is corrupt in some way that

Re: Yet more OPTLINK woes

2010-05-13 Thread Daniel Keep
Some general replies: There have been three responses along the lines of are you sure OPTLINK is running?. Quoting myself: Invoking OPTLINK directly changes nothing. Or to be more specific: link AstTest,AstTest,,user32+kernel32/noi+tango.lib; (zero-byte .map file pops into existence) Yes,

Re: Yet more OPTLINK woes

2010-05-13 Thread div0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Keep wrote: Well, except for this: _D11TokenStream808d8d5_ctorMFC6Sourcef6P809091 DFS8Location808989AaYvJS68085cfs5f4Zb80 99aaZC819a87 (broken across 3 lines; xx are bytes in hex since several of them were non-printable.) As

Re: Yet more OPTLINK woes

2010-05-13 Thread torhu
On 13.05.2010 10:39, Daniel Keep wrote: Attached both regular and decaffeinated^Hgutted versions. Most likely DMD turns VisitorCtfe.d into an invalid object file. But since you don't need to link with objects that contain only ctfe functions... Here's what I get: --

Re: Yet more OPTLINK woes

2010-05-13 Thread torhu
Seems I've got an older version of optlink, 8.00.1. With 8.00.2 I get the same behavior you did, but it still works if you don't link with VisitorCtfe.obj. When running 8.00.2 in the msvc debugger, it just looks like optlink successfully exits. No crash or anything. But no useful output

Yet more OPTLINK woes

2010-05-12 Thread Daniel Keep
That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] *sigh* I'm writing a math eval library. There are two test applications. LexerTest only touches part of the code. AstTest touches everything. Now, the following works and creates an executable:

Re: Yet more OPTLINK woes

2010-05-12 Thread Simen kjaeraas
Daniel Keep daniel.keep.li...@gmail.com wrote: That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] [...] Does anyone have any idea, any idea at all, on what could be causing this? I've tried everything myself and several others on #d could think

Re: Yet more OPTLINK woes

2010-05-12 Thread div0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simen kjaeraas wrote: Daniel Keep daniel.keep.li...@gmail.com wrote: That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] [...] Does anyone have any idea, any idea at all, on what could be causing

Re: Yet more OPTLINK woes

2010-05-12 Thread torhu
On 12.05.2010 13:22, Daniel Keep wrote: That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] *sigh* I'm writing a math eval library. There are two test applications. LexerTest only touches part of the code. AstTest touches everything. Now, the

Re: Yet more OPTLINK woes

2010-05-12 Thread Don
div0 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simen kjaeraas wrote: Daniel Keep daniel.keep.li...@gmail.com wrote: That's right, it's time for everyone's favourite [1] game: guess why OPTLINK's not working! [2] [...] Does anyone have any idea, any idea at all, on what could be