www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Can DMD be built with g++?

reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
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?
Aug 30 2012
parent reply =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <alex lycus.org> writes:
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
Aug 30 2012
parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 8/30/12, Alex R=F8nne 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.
Aug 30 2012
parent Don Clugston <dac nospam.com> writes:
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.
Sep 04 2012