Unable to compile gdc with gcc 4.8.2 on OSX 10.8.5

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sat Nov 2 03:49:30 PDT 2013


On 02/11/13 04:56, kahuna wrote:
> I have compiled it with gcc-4.8.1, but anyway it should bootstrap itself.

Just to avoid doubt, I want to be absolutely clear what you're doing here.

When you say "with gcc-4.8.1" are you talking about the actual GCC compiler you 
already have installed on your system, or the GCC source that you're using with GDC?

The point is that once those gcc sources are built, that will indeed bootstrap 
compilation of the rest of gcc and GDC; but you need a working compiler that can 
compile the core of GCC itself, and it's unlikely clang can do that.  It's 
likely with Xcode 5 that the system compiler is clang and not gcc, and that the 
gcc/g++ commands are symlinked to clang.

Just to test, can you try typing g++ --version in a terminal window and see what 
it outputs?

Hope that I don't sound condescending here, I'm just trying to make sure that I 
don't misunderstand you and that I understand properly how your system is set up.


More information about the D.gnu mailing list