build 32-bit library on 64-bit OS

DFTW jckj33 at gmail.com
Tue Mar 19 20:56:47 UTC 2019


On Tuesday, 19 March 2019 at 20:31:46 UTC, kinke wrote:
> On Tuesday, 19 March 2019 at 17:23:21 UTC, DFTW wrote:
>> /usr/bin/ld: skiping 
>> //usr/lib/x86_64-linux-gnu/libphobos2-ldc-shared.so 
>> incompatible to -lphobos2-ldc-shared
>> /usr/bin/ld: couldn't find -lphobos2-ldc-shared
>
> If possible, use an official package 
> (https://github.com/ldc-developers/ldc/releases). What distro 
> are you using? The packager apparently didn't create a multilib 
> package.

What package did you mean? that libphobos2 on the error messages 
from the ld?
I'm using dmd/dub on Ubuntu 18.
I'll give a try to ldc, does it still is binary compatible with C?


More information about the Digitalmars-d-learn mailing list