On Wed, Jun 04, 2014 at 04:23:31PM +0100, Iain Buclaw via Digitalmars-d wrote:
> On 4 June 2014 16:07, H. S. Teoh via Digitalmars-d
> <digitalmars-d@puremagic.com> wrote:
> > On Wed, Jun 04, 2014 at 03:53:59PM +0100, Iain Buclaw via Digitalmars-d 
> > wrote:
> > [...]
> >> Not even remotely true.  DMD isn't easy to set-up either.
> >>
> >> 1) There's no documentation on build dependencies/prerequesites (that
> >> I have come across)
> >
> > http://wiki.dlang.org/Building_DMD
> >
> 
> Which doesn't list build dependencies or prerequesites.  :o)

As far as I know, the only dependency is a working C/C++ compiler.

$ ldd dmd/src/dmd
        linux-vdso.so.1 (0x00007ffff27ff000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007fb068676000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007fb068459000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb068155000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007fb067f3f000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb067b95000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb0689a1000)
$


So, nothing beyond your basic C/C++ system libraries.


> >> 2) While there's no configure, it instead offloads all complexity
> >> into it's make files forcing you to correctly set every single ENV=
> >> parameters in order for it to build properly.
> >>
> >> I've never managed to get it built properly, so I rely on the
> >> autotester a lot for changes.
> > [...]
> >
> > Really?? I have found, on the contrary, that DMD is extremely easy
> > to build. As opposed to, say, GDC (no offense ;)), which I haven't
> > been able to build since gcc-4.8, likely due to the build scripts
> > relying on hardcoded system paths that every Linux distro changes
> > around just for fun.
> >
> 
> Probably.  There is a well documented quirk of Debian/Ubuntu on
> GCC-4.8.  However though multiarch patches are in GCC 4.9, so that's
> one build issue that should no longer occur.  :)

Oh that's good to know. Maybe I should try building GDC 4.9 sometime...


T

-- 
Food and laptops don't mix.

Reply via email to