0

For example, I can not compile using GDC 5.2.0 (2016-02-05T11:17:49.3234388) a program importing std.meta because that file is not found.

I was comparing the include folders between GDC and DMD and I found a great mismatch of versions.

\lib\gcc\x86_64-w64-mingw32\5.2.0\include\d\std     from GDC  5.2.0 
dmd2\src\phobos\std                                 from DMD2 2.070.0

This preventing that I can use GDC with confidence.

Anyone knows why includes of GDC are not the same Phobos library?

1 Answers1

1

GDC and LDC lag behind DMD, as adapting the latest DMD changes with the respective compiler backends takes some time.

Note the DMDFE column on the downloads page:

http://gdcproject.org/downloads

It indicates which DMD version the corresponding release is based on.

Vladimir Panteleev
  • 24,651
  • 6
  • 70
  • 114
  • I am aware about this lag between them, but I checked the GIT source control and I found that even DMD2 2.066 have meta.d. Thus. GDC based on 2.066 should has it too. Phobos is different in GDC. – Jairo Andres Velasco Romero Mar 28 '16 at 18:32
  • DMD 2.066.0 does not have a `meta.d` in Phobos. It's neither in the released zip/tar.gz files, nor [in git](https://github.com/D-Programming-Language/phobos/tree/v2.066.0/std), so I don't know why you would say that 2.066 has a `meta.d`. – Vladimir Panteleev Mar 29 '16 at 05:45
  • You are right, man. My bad, I don't know what I saw. My question is resolved now. – Jairo Andres Velasco Romero Mar 29 '16 at 20:56