Thread overview | |||||
---|---|---|---|---|---|
|
November 10, 2017 How to specify 64 bit architecture in dub configuration file? | ||||
---|---|---|---|---|
| ||||
Using 'dub --arch=x86_64' will get you a 64 bit build, but is it possible to specify 64 bit architecture in the configuration file, so one can just type 'dub' and get a 64 bit build? |
November 10, 2017 Re: How to specify 64 bit architecture in dub configuration file? | ||||
---|---|---|---|---|
| ||||
Posted in reply to OlaOst | On Friday, 10 November 2017 at 08:30:39 UTC, OlaOst wrote:
> Using 'dub --arch=x86_64' will get you a 64 bit build, but is it possible to specify 64 bit architecture in the configuration file, so one can just type 'dub' and get a 64 bit build?
"dflags" : "-m64"
will work. You can probably use a less quick and dirty solution with a proper configuration.
Or edit your dmd.conf to include -m64 as a default.
|
November 10, 2017 Re: How to specify 64 bit architecture in dub configuration file? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nicholas Wilson | On Friday, 10 November 2017 at 09:18:34 UTC, Nicholas Wilson wrote:
> On Friday, 10 November 2017 at 08:30:39 UTC, OlaOst wrote:
>> Using 'dub --arch=x86_64' will get you a 64 bit build, but is it possible to specify 64 bit architecture in the configuration file, so one can just type 'dub' and get a 64 bit build?
>
> "dflags" : "-m64"
>
> will work. You can probably use a less quick and dirty solution with a proper configuration.
>
> Or edit your dmd.conf to include -m64 as a default.
It'll work but dub will complain. I really wish it didn't.
Atila
|
Copyright © 1999-2021 by the D Language Foundation