Re: How to target ldc compiler only in dub

2020-05-26 Thread data pulverizer via Digitalmars-d-learn
On Wednesday, 27 May 2020 at 02:09:48 UTC, Mike Parker wrote: Thanks. Is there anyway to verify that the flags I am passing to the compiler are being used? dub -v It shows you the full compiler command line. Ah, I forgot to force the rebuild. Thanks.

Re: How to target ldc compiler only in dub

2020-05-26 Thread Mathias LANG via Digitalmars-d-learn
On Tuesday, 26 May 2020 at 22:28:14 UTC, data pulverizer wrote: Hi, I am trying to build a package to target LDC compiler only. I have both dmd and ldc2 (1.18.0) installed on my system. The dub file is: ``` { "authors": [ "Me" ], "copyright":

Re: How to target ldc compiler only in dub

2020-05-26 Thread Mike Parker via Digitalmars-d-learn
On Wednesday, 27 May 2020 at 01:41:47 UTC, data pulverizer wrote: On Wednesday, 27 May 2020 at 01:06:48 UTC, mw wrote: And you can use option dub -v to verify it's calling the correct compiler cmd. Thanks. Is there anyway to verify that the flags I am passing to the compiler are being

Re: How to target ldc compiler only in dub

2020-05-26 Thread data pulverizer via Digitalmars-d-learn
On Wednesday, 27 May 2020 at 01:06:48 UTC, mw wrote: And you can use option dub -v to verify it's calling the correct compiler cmd. Thanks. Is there anyway to verify that the flags I am passing to the compiler are being used?

Re: How to target ldc compiler only in dub

2020-05-26 Thread mw via Digitalmars-d-learn
On Wednesday, 27 May 2020 at 00:54:45 UTC, data pulverizer wrote: On Wednesday, 27 May 2020 at 00:52:55 UTC, mw wrote: On Tuesday, 26 May 2020 at 22:28:14 UTC, data pulverizer wrote: I am trying to build a package to target LDC compiler only. I set env: LDC= DUB = $(LDC)/bin/dub then, run

Re: How to target ldc compiler only in dub

2020-05-26 Thread mw via Digitalmars-d-learn
On Tuesday, 26 May 2020 at 22:28:14 UTC, data pulverizer wrote: I am trying to build a package to target LDC compiler only. I set env: LDC= DUB = $(LDC)/bin/dub then, run this new dub: $(DUB) build

Re: How to target ldc compiler only in dub

2020-05-26 Thread data pulverizer via Digitalmars-d-learn
On Wednesday, 27 May 2020 at 00:52:55 UTC, mw wrote: On Tuesday, 26 May 2020 at 22:28:14 UTC, data pulverizer wrote: I am trying to build a package to target LDC compiler only. I set env: LDC= DUB = $(LDC)/bin/dub then, run this new dub: $(DUB) build Thanks. Building with `dub run

How to target ldc compiler only in dub

2020-05-26 Thread data pulverizer via Digitalmars-d-learn
Hi, I am trying to build a package to target LDC compiler only. I have both dmd and ldc2 (1.18.0) installed on my system. The dub file is: ``` { "authors": [ "Me" ], "copyright": "Copyright © 2020, Me", "dependencies": {