D vs Go in real life
Dicebot
public at dicebot.lv
Fri Nov 29 07:15:53 PST 2013
On Friday, 29 November 2013 at 05:51:48 UTC, Chris Cain wrote:
> The whole build process is a lot more involved than it really
> should be. Ideally you should be able to clone dmd, phobos, and
> druntime and just have everything compile and be put into a
> relative path together and just "work". Maybe alert you if you
> don't have phobos and druntime to build. Ultimately, you really
> "have to" download the binary version if you want it to work
> transparently, but it would be nice if it were easy enough to
> build from source that a printed 1 page guide would get you
> 100% running.
Huh?
git clone https://github.com/D-Programming-Language/dmd.git
git clone https://github.com/D-Programming-Language/druntime.git
git clone https://github.com/D-Programming-Language/phobos.git
cd ./dmd/src
make -f posix.mak MODEL=64 RELEASE=1
cd ../../druntime
make -f posix.mak MODEL=64 DMD=../dmd/src/dmd RELEASE=1
cd ../phobos
make -f posix.mak MODEL=64 DMD=../dmd/src/dmd RELEASE=1
After that just make symlink to dmd binary and add
Phobos/druntime paths to dmd.conf and you are ready to go.
More information about the Digitalmars-d
mailing list