Choosing the correct compiler version
Alexander Zhirov
azhirov1991 at gmail.com
Tue Jul 19 15:33:59 UTC 2022
On Tuesday, 19 July 2022 at 15:28:44 UTC, Alexander Zhirov wrote:
> I'm trying to install dmd with my hands in order to build ldc2
> from the sources, but I can't:
I need to build a compiler under x32 in order to compile a
program for the same machine.
```sh
dmd2/src/dmd# make -f posix.mak
posix.mak:42: ===== DEPRECATION NOTICE =====
posix.mak:43: ===== DEPRECATION: posix.mak is deprecated. Please
use src/build.d instead.
posix.mak:44: ==============================
dmd -of../generated/build -g build.d
dmd: /lib/libc.so.6: version `GLIBC_2.28' not found (required by
dmd)
posix.mak:111: recipe for target '../generated/build' failed
make: *** [../generated/build] Error 1
```
More information about the Digitalmars-d-learn
mailing list