I don't know if this helps but i have to do,
export CC=/usr/local/bin/gcc
with ldc2.
I don't know why it works with gcc but not with llvm/clang.
On Thursday, 21 July 2022 at 05:44:41 UTC, Alexander Zhirov wrote:
I will report on the successes a little later.
Result:
I downloaded and unpacked the binary version of the `dmd`
compiler version
[2.097.2](http://downloads.dlang.org/releases/2021/dmd.2.097.2.linux.tar.xz), which runs
On Tuesday, 19 July 2022 at 23:19:28 UTC, jfondren wrote:
Finding an old version that works on your machine will be very
easy, but for example the random 2016 build that I grabbed was
also too old to build dmd master, so you want to prefer a newer
build that still works. It's not necessary to
On Tuesday, 19 July 2022 at 23:19:28 UTC, jfondren wrote:
Thanks for your thorough presentation.
[...]
Another option is to get newer glibc onto this system (not
installing it, just making it available for dmd. use
LD_LIBRARY_PATH).
On older systems the dynamic loader (ld.so) may not
On Tuesday, 19 July 2022 at 15:33:59 UTC, Alexander Zhirov wrote:
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
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
Hello everyone
I want to install the `ldc2` compiler on a specific machine
`i586`:
```sh
~ $ strings /lib/libc.so.6 | grep GLIBC
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.1.2
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.2.2
GLIBC_2.2.3
GLIBC_2.2.4
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3