Ldc: debian and ubuntu packages for x86 and x86_64 (amd64)

D

UPDATE:

To install the package on ubuntu, you need to install the libconfig++6 package from debian.

We are working to put ldc on debian and ubuntu.

In the meantime packages for x86 and x86_64 are ready and can be freely downloaded, you just need to install them and you can start compiling any source like in this example:

goshawk@earth:~/Documents/Projects/MOTU/ldc/d1/ldc$ sudo dpkg -i  ldc_0.9.1~20090403.dfsg-1_amd64.deb
Selecting previously deselected package ldc.
(Reading database … 236469 files and directories currently installed.)
Unpacking ldc (from ldc_0.9.1~20090403.dfsg-1_amd64.deb) …
Setting up ldc (0.9.1~20090403.dfsg-1) …
Processing triggers for man-db …
goshawk@earth:~/Documents/Projects/MOTU/ldc/d1/ldc$ cd
goshawk@earth:~$

goshawk@earth:~$ cat test.d
import  tango.io.Console;

void    main()
{
Cout(“Hello, World”).newline;
}

goshawk@earth:~$ ldc test.d
goshawk@earth:~$ ./test
Hello, World
goshawk@earth:~$

🙂

Previous
Ldc package published
Next
Mer sees the light on Freerunner
  • Awesome. Looking forward to it, as I currently have to use my own tango package, and lose 64bit gdc support.

    Have you noticed any difference between ldc and gdc as far as performance is concerned? I have not been able to find much info on it.

  • I never used tango on gdc.
    So i packaged ldc cuz i didn’t find any other way to start programming using tango.

    From the first sources i’m doing, ldc seems stable enough and it has no problem with x86_64 (problems that gdc has like https://bugs.launchpad.net/bugs/235955 )

    I suggest you to switch to ldc 🙂 It seems also liter and faster than gdc.

Leave a Reply

%d bloggers like this: