LDC2 snapshot package and package scripts

dsimcha dsimcha at yahoo.com
Sat Aug 6 13:35:50 PDT 2011


On 8/6/2011 2:24 PM, Christian Kamm wrote:
> If you'd like to try something with LDC2 on x86-64 linux and don't want to
> go through the hassle of compiling it yourself, grab this:
> http://www.incasoftware.de/~kamm/ldc/ldc-2.052-snapshot.tbz2
>
> It's a dmd-style extract-and-done package.
>
> Be warned, it's not an official release and hasn't been tested beyond a
> 'Hello World'! Also, the ldc branches of druntime and phobos are lagging
> significantly behind the upstream branches.
>
> The reason this package exists is that I had some hours left over and
> decided to create packaging scripts for ldc2 in the hope of allowing the
> current maintainers to make more frequent releases. If you sometimes want to
> compile LLVM, LDC2, druntime and phobos from scratch without bothering about
> the details, give this a try:
> http://www.incasoftware.de/~kamm/ldc/ldc2-buildscripts.tbz2 .
> (you need libconfig++, it's libconfig++8-dev in Ubuntu)
>
> If there's something wrong with the package, please let me know. Bugs in LDC
> should go to http://www.dsource.org/projects/ldc/newticket .

It seems that, unlike DMD, the search directories aren't configured 
right by default.  I get this on trying to build hello world after 
extracting the tarball and nothing else:

object.d: Error: module object is in file 'object.d' which cannot be read
import path[0] = /usr/local/bin/../import


More information about the Digitalmars-d mailing list