Thread overview
Can DMD be built with g++?
Aug 30, 2012
Andrej Mitrovic
Aug 30, 2012
Andrej Mitrovic
Sep 04, 2012
Don Clugston
August 30, 2012
I'm experimenting with something and I'd like to build DMD via g++. But I'm getting some missing symbol errors like: src/backend/blockopt.c:374:28: error: 'isdehydrated' was not declared in this scope

isdehydrated doesn't seem to be defined anywhere in the source tree, I don't know how DMC finds it?
August 30, 2012
On 30-08-2012 22:09, Andrej Mitrovic wrote:
> I'm experimenting with something and I'd like to build DMD via g++.

That's what it's built with on all POSIXes by default.

> But I'm getting some missing symbol errors like:
> src/backend/blockopt.c:374:28: error: 'isdehydrated' was not declared
> in this scope

How are you building, what platform, etc...

>
> isdehydrated doesn't seem to be defined anywhere in the source tree, I
> don't know how DMC finds it?
>

-- 
Alex Rønne Petersen
alex@lycus.org
http://lycus.org
August 30, 2012
On 8/30/12, Alex Rønne Petersen <alex@lycus.org> wrote:
> How are you building, what platform, etc...

Ah geez I forgot there's a makefile (doh!), I need to look into passing the right flags first. I'm trying this on win32 via MinGW btw.
September 04, 2012
On 30/08/12 22:21, Andrej Mitrovic wrote:
> On 8/30/12, Alex Rønne Petersen <alex@lycus.org> wrote:
>> How are you building, what platform, etc...
>
> Ah geez I forgot there's a makefile (doh!), I need to look into
> passing the right flags first. I'm trying this on win32 via MinGW btw.
>

That's a different story. Dunno if anyone has tried that before.
It would be a miracle if the Windows makefile worked with g++, and AFAIK the Posix makefile is only set up for posix.