Ticket #62 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

adding GDC/GDMD support

Reported by: michaelp Assigned to: aldacron
Priority: minor Version: 2.0
Keywords: gdc, patch, compiler Cc:

Description

Since GDC is becoming active again, I think that it would be reasonable to add support for it into Derelict.

Because of the wrapper script gdmd, the process of doing this was quite painless. Simply copy the "dmd_build:" section of the Makefiles, change it to "gdmd_build:", add a gdmd_inc.mak Makefile (which is just a copy of the dmd_inc.mak file, with a different name), and it should work the same as dmd.

make -flinux.mak DC=gdmd

Attached is a patch for this GDMD/GDC support for revision 507 for Derelict2.

Attachments

Derelict2gdc.diff (8.0 kB) - added by michaelp on 08/15/10 13:48:04.
Patch for GDC/GDMD support in Derelict2, revision 507

Change History

08/15/10 13:48:04 changed by michaelp

  • attachment Derelict2gdc.diff added.

Patch for GDC/GDMD support in Derelict2, revision 507

08/15/10 22:42:19 changed by aldacron

  • owner set to aldacron.

08/15/10 22:50:18 changed by aldacron

  • status changed from new to closed.
  • resolution set to fixed.

(In [508]) [Derelict2] * applied patch to add support for gdc via gdmd. Closes #62.

08/17/10 15:44:06 changed by michaelp

  • status changed from closed to reopened.
  • resolution deleted.

There still needs to be gdmd_inc.mak file in the /inc directory.

It can be the exact same as dmd_inc.mak, just needs to be named gdmd_inc.mak.

08/17/10 21:53:11 changed by aldacron

  • status changed from reopened to new.

Gah! I forgot to svn add it after I applied the patch.

08/18/10 10:29:07 changed by aldacron

  • status changed from new to closed.
  • resolution set to fixed.

Commited inc/gdmd_inc.dmd (in [510])