Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #2010 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

GDC (>=0.25) runtime support

Reported by: ibuclaw Assigned to: community
Priority: major Milestone: 1.0
Component: Tango Version: 0.99.9 Kai
Keywords: gdc Cc:

Description

Attached to this ticket is a rough-cut runtime for gdc to work with tango. It's a bit of a change, some bits are borrowed and patched (ie: ldc/memory.d) to compensate the lack of configure/makefile in the build, and alot (if not all) cruft has been removed.

I still consider it WIP, but at the very least the most basic programs compile and run OK on 32bit Linux (doubtful of 64bit because of known vararg problems).

If someone can review, I'd be happy to answer any questions or help out further in maintenance.

Regards Iain

Attachments

gdc-tango.patch.gz (237.6 kB) - added by ibuclaw on 10/23/10 18:58:17.
Patch for gdc runtime directory against rev 5569
gdc-tango-wip.patch (3.8 kB) - added by ibuclaw on 10/24/10 11:00:59.
More WIP changes
intrinsic.patch (28.6 kB) - added by ibuclaw on 10/31/10 16:29:02.
Update intrinsics
intrinsic.2.patch (28.6 kB) - added by mwarning on 11/01/10 22:37:17.

Change History

10/23/10 18:58:17 changed by ibuclaw

  • attachment gdc-tango.patch.gz added.

Patch for gdc runtime directory against rev 5569

10/24/10 00:15:18 changed by mwarning

(In [5577]) refs #2010 :: first stage for GDC runtime support

10/24/10 00:56:44 changed by mwarning

(In [5578]) refs #2010 :: remove old gdc files

10/24/10 11:00:59 changed by ibuclaw

  • attachment gdc-tango-wip.patch added.

More WIP changes

10/24/10 11:02:57 changed by ibuclaw

Throwing Exceptions works again. :-)

10/24/10 13:08:54 changed by mwarning

(In [5579]) refs #2010 :: missing files from last commit

10/24/10 13:20:37 changed by mwarning

(In [5580]) refs #2010 :: Add missing file

10/24/10 13:21:25 changed by mwarning

(In [5581]) refs #2010 :: Apply gdc-tango-wip.patch

10/25/10 00:03:26 changed by mwarning

Before this ticket is closed, we should make sure the fixes that got applied to the ldc/dmd runtime were also be applied to the gdc runtime.

10/28/10 22:51:10 changed by ibuclaw

(In [5591]) refs #2010 :: More WIP gdc runtime updates.

(follow-up: ↓ 10 ) 10/31/10 10:40:04 changed by mwarning

The remaining issue on this ticket is the that the intrinsics from phobos/gdc bite those from tango.core.vendor. See http://dsource.org/projects/tango/forums/topic/890

10/31/10 16:29:02 changed by ibuclaw

  • attachment intrinsic.patch added.

Update intrinsics

(in reply to: ↑ 9 ) 10/31/10 16:31:56 changed by ibuclaw

Replying to mwarning:

The remaining issue on this ticket is the that the intrinsics from phobos/gdc bite those from tango.core.vendor. See http://dsource.org/projects/tango/forums/topic/890

Patch to update intrinsics. mwarning could you test this? Also, take note of the changes to ldc.bitmanip in the patch, and consider merging them back into LDC. :)

Regards

11/01/10 22:37:17 changed by mwarning

  • attachment intrinsic.2.patch added.

11/02/10 12:15:12 changed by mwarning

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

(In [5594]) fixes #2010 :: update intrinsics / GDC runtime support; lots of thanks to ibuclaw