Files
ldc/runtime
David Nadlinger 470323233a Merged build system patches by Jonathan Mercier.
In detail, this commit:
 - Changes the default version that is built to D2, use D_VERSION to override.
 - Reverts back to building static libs by default until we are certain shared libs work fine everywhere.
 - Fixes installation pathes so that CMAKE_INSTALL_PREFIX is respected; /etc as sysconf dir for /usr prefix is special-cased.
 - Fixes out-of-source builds again, and causes temporary files (idgen, …) not to be written to the source directory anymore.

This is a slightly cleaned up version of the changes from https://github.com/ldc-developers/ldc/pull/12.
2011-11-09 20:40:39 +01:00
..
2008-10-06 22:46:55 +02:00
2008-11-12 06:35:20 +01:00
2008-11-12 07:22:05 +01:00

This should help get the runtime built.
FOR D1:
=======
1) Do a checkout of tango trunk into the ldc root dir (along dmd, gen, runtime etc).

    *   $ ls
    *   dmd dmd2 gen ir ...
    *   $ svn co http://svn.dsource.org/projects/tango/trunk tango

2) Compile the runtime

    *   sh build.sh

FOR D2:
=======
1) Check http://bitbucket.org/prokhin_alexy/ldc2/wiki/Home for up to date instructions

2) At the time of writing, this works:

    *   $ git clone https://github.com/AlexeyProkhin/druntime
    *   $ git clone https://github.com/AlexeyProkhin/phobos

3) Using cmake, set the D version to 2, then set the correct paths for druntime and phobos

4) Compile ldc2, druntime, and phobos

    *   $ make phobos2

=======
Enjoy!