Unable to compile gdc with gcc 4.8.2 on OSX 10.8.5

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Fri Nov 1 03:03:41 PDT 2013


On Friday, 1 November 2013 at 07:51:09 UTC, kahuna wrote:
> I have tried to compile branch v1.x with gcc-4.7.3 and although 
> I get no error on thread.d (I get some bad references to direct 
> d_name.ptr, fixed removing .ptr) but I get the same undefined 
> symbols when compiling with gdc, so I understand that OSX is 
> not currently working, at least on 10.8.5 and Xcode 5

Are you sure it's not because Xcode 5 has clang as the default 
compiler, even symlinking g++ to clang++? It may therefore be 
that gcc won't compile with clang, and installing GCC proper will 
solve your problem.


More information about the D.gnu mailing list