extern(C++) in win32.mak

Seb seb at wilzba.ch
Wed Feb 7 15:46:40 UTC 2018


On Wednesday, 7 February 2018 at 14:38:37 UTC, Jacob Carlborg 
wrote:
> On 2018-02-07 14:47, Paul D Anderson wrote:
>
>> I get
>> Error: 'of..\generated\windows\release\32\lexer.lib' not found
>
> I don't think this file is built anymore.

It's a leftover of the lexer experiment and AFAICT still built:

https://github.com/dlang/dmd/blob/master/src/win32.mak#L317
https://github.com/dlang/dmd/blob/master/src/win32.mak#L336

> It looks to me as if at ' -of$@ ', the '-of' flag is supposed 
> to specify the output file, but is being interpreted as part of 
> the filename.

Yeah looks like it. What HOST_DC do you use (i.e. what DMD 
version)?
As mentioned, this file is built by various CIs, so it's pretty 
interesting to see that it doesn't work for you.


More information about the Digitalmars-d-learn mailing list