OPTLINK : Warning 9: Unknown Option : OUT

Anonymouse zorael at gmail.com
Mon Jul 15 11:48:13 UTC 2019


On Monday, 15 July 2019 at 11:12:41 UTC, Vladimir Panteleev wrote:
> On Monday, 15 July 2019 at 10:27:49 UTC, Anonymouse wrote:
>> OPTLINK : Warning 9: Unknown Option : OUT
>
> It looks like it's trying to use MS link command-line syntax 
> with DM OPTLINK.
>
> I'm not sure why that would happen, as Digger creates a 
> complete sc.ini file containing full paths to all relevant 
> linkers (OPTLINK, and 32-bit / 64-bit MS link). Perhaps Dub or 
> the CygWin environment is interfering somehow?
>
> Could you please post the following:
>
> - The Digger command-line and digger.ini you used to build D
> - The contents of ...\Digger\work\result\bin\sc.ini
> - Also if you could please run the Dub command with -v, and 
> post the full dmd.exe command line that Dub generates and runs.

I built it with:
> dub fetch digger
> dub run digger -- build "stable + druntime#2675"

I have not touched any digger.ini. The only one I can find is 
digger.ini.sample.

sc.ini and dub output at:
> https://pastebin.com/jPnh4yEA

dub test was invoked with:
> dub test 
> --compiler=C:/cygwin/home/zorael/work/result/bin/dmd.exe -v

I seem to get the same errors from a Cygwin terminal as from a 
cmd one.


More information about the Digitalmars-d-learn mailing list