Instructions to build DMD from source don't work (anymore) here

Joakim dlang at joakim.fea.st
Sat Dec 2 23:13:28 UTC 2017


On Thursday, 30 November 2017 at 08:38:15 UTC, Basile B. wrote:
> Hi, I've recently switched from a linux distribution to another 
> (F27). During the last 2 years i used a script to build DMD, 
> unfortunately i forgot to include it in my backup. Initially i 
> thought "No problem, there's the instructions in the wiki, it's 
> more or less about calling make with a couple of option". In 
> theory only...
>
> make -fposix.mak gives me
>
>> [basile at pc1 dmd]$ make -f posix.mak
>> make -C src -f posix.mak
>> make[1] : on entre dans le répertoire 
>> « /home/basile/dev/repos/dlang/dmd/src »
>> no cpu specified, assuming X86
>>  (CC)  ROOT_OBJS  ddmd/root/newdelete.c
>> c++ -c -o../generated/linux/release/64/newdelete.o 
>> -Wno-deprecated -Wstrict-
>> aliasing -fno-exceptions -fno-rtti -D__pascal= -DMARS=1 
>> -DTARGET_LINUX=1 -
>> DDM_TARGET_CPU_X86=1 -m64 -fPIC -std=gnu++98 -Iddmd/root -MMD 
>> -MF ../generated/linux/release/64/newdelete.deps 
>> ddmd/root/newdelete.c
>> cc1plus: désolé, pas implémenté: mode 64 bits pas compilé

According to Google Translate, this means your C++ compiler 
doesn't support 64-bit mode.  Not sure why, since the Makefile is 
only compiling in 64-bit after checking that's what your kernel 
is, with uname -m.


More information about the Digitalmars-d-learn mailing list