Building a project with CMAKE

Seb via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Mar 3 05:21:56 PST 2017


On Friday, 3 March 2017 at 10:21:51 UTC, berni wrote:
> On Thursday, 2 March 2017 at 09:13:40 UTC, berni wrote:
>> Just a note: I now asked the same question on the cmake 
>> mailing list. Maybe, it's the better place to do so...
>
> After some help of cmake people and a morning of more 
> investigations, I'm quite sure I found a bug in gdc. Meanwhile 
> I've got a small example that compiles with gdc but leads to a 
> linking error when compiled with -O3.

Is there any specific reason why you can't use DMD or LDC? It's 
easy to install:

curl i.dlang.io | bash -s ldc

(they both have a more recent front-end which might save you a 
lot of pain)


More information about the Digitalmars-d-learn mailing list