www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - More compilers at asm.dlang.org

reply Johan Engelen <j j.nl> writes:
What needs to be done to make LDC and GDC available on 
asm.dlang.org?

Thanks,
   Johan
May 25 2016
parent reply Iain Buclaw via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 25 May 2016 at 12:51, Johan Engelen via Digitalmars-d
<digitalmars-d puremagic.com> wrote:
 What needs to be done to make LDC and GDC available on asm.dlang.org?

 Thanks,
   Johan
For the time being, they can't all co-exist. DMD being the special case who doesn't compile to assembly. I have GDC running on http://explore.dgnu.org though. Regards Iain.
May 25 2016
next sibling parent reply Seb <seb wilzba.ch> writes:
On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote:
 On 25 May 2016 at 12:51, Johan Engelen via Digitalmars-d 
 <digitalmars-d puremagic.com> wrote:
 What needs to be done to make LDC and GDC available on 
 asm.dlang.org?

 Thanks,
   Johan
For the time being, they can't all co-exist. DMD being the special case who doesn't compile to assembly. I have GDC running on http://explore.dgnu.org though. Regards Iain.
Could you make the code available somewhere? It doesn't sound that hard to do ;-)
May 25 2016
parent reply Iain Buclaw via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 25 May 2016 at 13:10, Seb via Digitalmars-d
<digitalmars-d puremagic.com> wrote:
 On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote:
 On 25 May 2016 at 12:51, Johan Engelen via Digitalmars-d
 <digitalmars-d puremagic.com> wrote:
 What needs to be done to make LDC and GDC available on asm.dlang.org?

 Thanks,
   Johan
For the time being, they can't all co-exist. DMD being the special case who doesn't compile to assembly. I have GDC running on http://explore.dgnu.org though. Regards Iain.
Could you make the code available somewhere? It doesn't sound that hard to do ;-)
Upstream is here: https://github.com/mattgodbolt/gcc-explorer And you can see the forked changes here: https://github.com/ibuclaw/gcc-explorer/commits/dlang Most of it is platform compatibility, remove branding, etc...
May 25 2016
parent Johan Engelen <j j.nl> writes:
What needs to be done to get a few recent LDC versions into the 
/usr/local/dlang.org/asm/compilers/ directory on dlang.org ?
May 26 2016
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On 2016-05-25 12:59, Iain Buclaw via Digitalmars-d wrote:

 For the time being, they can't all co-exist.  DMD being the special
 case who doesn't compile to assembly.
Is there any other reasons why they can't co-exist? The above mentioned seems trivial. -- /Jacob Carlborg
May 25 2016
prev sibling parent reply Johan Engelen <j j.nl> writes:
On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote:
 For the time being, they can't all co-exist.  DMD being the 
 special case who doesn't compile to assembly.
Well..., GDC and LDC can compile to what DMD compiles to, and both have a DMD-compatible driver (ldmd2, gdmd), so should be easy right? ;)
 I have GDC running on http://explore.dgnu.org though.
Yours has better options for displaying the assembly. Hope we can end up with one website that shows asm output for all 3 compilers.
May 25 2016
parent Iain Buclaw via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 25 May 2016 at 13:30, Johan Engelen via Digitalmars-d
<digitalmars-d puremagic.com> wrote:
 On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote:
 For the time being, they can't all co-exist.  DMD being the special case
 who doesn't compile to assembly.
Well..., GDC and LDC can compile to what DMD compiles to, and both have a DMD-compatible driver (ldmd2, gdmd), so should be easy right? ;)
 I have GDC running on http://explore.dgnu.org though.
Yours has better options for displaying the assembly.
That's because what you see *is* assembly. You just can't get that level of detail using objdump.
May 25 2016