OPTLINK needs to die.
Tom S
h3r3tic at remove.mat.uni.torun.pl
Tue Feb 17 12:44:20 PST 2009
Max Samukha wrote:
> On Tue, 17 Feb 2009 04:16:35 -0800, Walter Bright
> <newshound1 at digitalmars.com> wrote:
>
>> Tom S wrote:
>>> So there's also the option of having a .lib per
>>> .d file and linking that all together. So I've just tried it:
>>> dmd -c Main.d
>>> dmd -lib Mod.d
>>> dmd -lib Mod2.d
>>> dmd Main.obj Mod.lib Mod2.d
>>> ... and OPTLINK crashed with the familiar MsgBox containing register
>>> values.
>> Can't repro it. I'm pretty sure it has something to do with how
>> threading works on newer processors (mine is old).
>
> Probably you typed literally. The last one should be 'dmd Main.obj
> Mod.lib Mod2.lib'
Argh! Sorry, I knew I'd make a typo there since I didn't copy-paste the
console commands :( Yea, it should be 'dmd Main.obj Mod.lib Mod2.lib'
--
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode
More information about the Digitalmars-d
mailing list