Is there a way to use x86 and x86_mscoff with dub simultaneously.
ciechowoj via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 25 07:17:54 PDT 2017
Currently dub reports following message when the -m32mscoff flag
is specified in dub.json.
```
-m32mscoff: Use --arch=x86/--arch=x86_64/--arch=x86_mscoff to
specify the target architecture, e.g. 'dub build --arch=x86_64'
```
The problem is after the change the user is unable to build the
project just with `dub build` (they need to specify the arch
explicitly).
Is there a way to avoid the requirement for specifying the
architecture explicitly or at least provide a meaningful message
to the user that they should use `--arch=x86_mscoff` ?
Or a way to force dub to use VS linker instead of OPTLINK for x86
case?
Or a way to override the default architecture?
More information about the Digitalmars-d
mailing list