How use ldc pragmas?

james.p.leblanc james.p.leblanc at gmail.com
Sat Oct 2 07:10:18 UTC 2021


On Friday, 1 October 2021 at 19:23:06 UTC, james.p.leblanc wrote:
> D-ers,

Update from myself to myself (and any others who might use the 
bash
command from my origin posting),

> I try to compile the above using:

```bash
ldc2 -mattr=+avx2 myexample.d -H  
~/ldc2/import/ldc/gccbuiltins_x86.di
```

Remove the "-H ..." this should not be used (based on an earlier 
misunderstanding
of mine).  Instead, simply use:

```bash
ldc2 -mattr=+avx2 myexample.d
```

Cheers,
jpl




More information about the Digitalmars-d-learn mailing list