On Monday, 19 November 2012 at 01:00:31 UTC, H. S. Teoh wrote:
Anyway, here's what I do (I'm on 64-bit Linux, so YMMV):
- create a root directory to put dmd, druntime, and phobos as
subdirs
(you will have less pain this way).
Yup, I did that ...
BTW: I'm using Debian Wheezy x64
- cd dmd/src; make -f posix.mak
- cd druntime; make -f posix.mak
- cd phobos; make -f posix.mak
Tried that, but it built for X86, so I was immediately stuck
until I found the blog that said to do this ...
make -f posix.mak MODEL=64;
- If necessary, edit dmd.conf to find druntime/phobos in the
right
place.
- You should now have a working compiler toolchain.
It all seems to work following the blog post instructions, but I
need to verify a few things to be sure.
I followed the blog post suggestions for copying everything into
/usr/local/ folders since that is what I usually do anyway.
First and foremost, fork the project you want to contribute to
on github [...]
I'll try what you are suggesting, but these instructions should
be documented somewhere otherwise the next guy will just run into
the same problems all over again, rinse and repeat forever.
Then wait.
And wait.
And wait some more.
Until the maintainer merges your branch, or has some feedback.
(Well OK, the waiting part is improving, but still, don't
expect things
to happen overnight 'cos they probably won't.)
I'll mercilessly bitch and complain if it takes too long ;)
--rt