How to build dub from source on Raspberry PI 4 , freebsd-OS, having a functional ldc2 compiler

Alain De Vos devosalain at ymail.com
Tue Jan 17 13:29:22 UTC 2023


On Monday, 16 January 2023 at 12:07:29 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> For dmd to specify a version to enable you use ``-version=``, 
> for ldc you use ``--d-version=``.
>
> But why is it using ldc2 to compile? Its meant to be using the 
> wrapper ldmd2 which swaps the dmd style to ldc2 style.
>
> Also why are you building dub? Does your build of ldc not come 
> with it for some reason?

The  native d-compiler on freebsd-arm64 is ldc2. But it comes 
without dub.
[No dmd or gdc is available or they have to be build with 
llvm/gcc/ldc2 ]


More information about the Digitalmars-d mailing list