Unable to compile gdc with gcc 4.8.2 on OSX 10.8.5

kahuna kahuna0k at gmail.com
Fri Nov 1 20:56:02 PDT 2013


On Friday, 1 November 2013 at 10:03:42 UTC, Joseph Rushton 
Wakeling wrote:
> 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.

I have compiled it with gcc-4.8.1, but anyway it should bootstrap 
itself.



More information about the D.gnu mailing list