[dmd-internals] Create a dmd-cxx branch on dlang/dmd
Diederik de Groot
ddegroot at talon.nl
Tue Dec 12 14:48:19 UTC 2017
On Tuesday, 12 December 2017 at 10:33:36 UTC, Iain Buclaw wrote:
>> That's exactly what i was looking for :-) Would it be possible
>> to get the LDC c++ based version of 2.068.2 committed to the
>> dmd repo (something like '2.068.3' or maybe even as a new
>> version of 'dmd-cxx'), so that i can rebase my
>> 'dragonflybsd_v2.068.2' changes on top of that later on ? As
>> your changes have already been proven to work, it should be
>> easier to get it accepted.
> What do you mean? The compiler has been proven to work, and it
> does work, both in build dmd and gdc compilers
> (https://github.com/D-Programming-GDC/GDC/pull/550).
I may have formulated my intention incorrectly, sorry. I know
dmd, ldc and gdc work :-) Did not want to instigate a flame war
of any kind.
I was having quite a lot of issues when trying to use the dmd-cxx
branch (Ran several tries on linux and my partial port to
dragonflybsd) when trying to use it to compile newer dmd
versions. I finally settled on the three stage method (which
worked).
It's a little hard to 'fix' and 'port' at the same time, because
you don't know if your porting effort is having side effects.
What i head intended to say, was: If David had a versipn dmd
v2.068.2 that was still completely in c++ and able to compile
'master' that would be perfect. But reading your response and
re-reading his, that was not what he meant.
Please discard my previous comment.
>> Figuring out which branch to use during porting is making the
>> porting process a little cumbersome.
>>
>> @Iain: as dmd-cxx is not able to compile the current 'master'
>> and '2.068.2' is, would it make sense to replace the current
>> dmd-cxx with the LDC version c++ based of 2.068.2 ? I know you
>> did quite a bit of work backporting several patches to
>> dmd-cxx. I am just trying to help simplify porting of dmd to
>> new platforms. And having only to stages would make all of
>> this a lot easier.
>>
> It can compile the current 'master' when backed by gdc. If
> someone wants to fix dmd backend to make it work better, you're
> free to do that also.
Once i get my port project finished and stable, i will revisit
this issue and see if i can figure out what is going on in
dmd-cxx.
>
> Did you have a look at the last-cdmd tag?
I did not to be honest. I will give that one a shot later today,
to see if that one works.
I will have to write a little wiki article about the porting
process to help others.
Thanks you for your input !
Regards,
Diederik
More information about the dmd-internals
mailing list