minit and DMD's makefiles

Walter Bright newshound2 at digitalmars.com
Sat Feb 16 00:28:06 PST 2013


On 2/15/2013 11:59 PM, Rainer Schuetze wrote:
>
>
> On 16.02.2013 05:07, Walter Bright wrote:
>> On 2/15/2013 6:19 PM, Andrej Mitrovic wrote:
>>> On 2/16/13, Walter Bright <newshound2 at digitalmars.com> wrote:
>>>> LOL. I just do:
>>>>
>>>>      touch minit.obj
>>>>
>>>> as required.
>>>
>>> Mine's more automated. :p
>>>
>>> Btw, have you had the chance to look at
>>> https://github.com/DigitalMars/optlink/pull/1 ?
>>>
>>
>> I looked at it, but I haven't gone through it. Thanks for doing it!
>> What's standing in the way of you building it?
>
> I actually succeded in building optlink, but there are a few things that had to
> be changed:
>
> - masm (v9 or v10) complained about a number of "mov AL,errorCode" which had to
> be changed to AX (I guess it would not assume an external to fit into a byte)
>
> - I had to add a number of ridiculous "BYTE PTR" modifiers
>
> - The SLR tools are 16-bit executables so I installed a VM running XP just to
> find out that they don't work there too. Instead I changed the makefiles to use
> lib from the dmd distrubution rather than optlib.
>
> What version of masm are you using?

5.10 from 1988 :-)

Masm constantly changed the syntax it would accept.


> Shall I make it a pull request?

You can, but I don't have those masm's. Or maybe I do in VS10, I just never looked.


More information about the Digitalmars-d mailing list