dmd build instructions from source don't work anymore

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Tue May 12 02:57:13 PDT 2015


On Tuesday, 12 May 2015 at 06:20:12 UTC, Ali Çehreli wrote:
> On 05/11/2015 10:23 AM, Timothee Cour via Digitalmars-d wrote:
>
> > I notice CC is set to 'g++' in posix.mak which is untypical
> (instead
> > of gcc for example)
>
> That is required because although all implementation files are 
> C++, they have extension .c. If CC were gcc, it would assume C 
> compilation. Therefore, g++ is needed to make it C++ 
> compilation.
>
> Ali

Same for clang IIRC.


More information about the Digitalmars-d mailing list