GDC install guide

Iain Buclaw ibuclaw at ubuntu.com
Mon Mar 25 04:33:02 PDT 2013


On 25 March 2013 11:24, eles <eles at eles.com> wrote:

> The install guide at:
>
> http://gdcproject.org/wiki/**Installation<http://gdcproject.org/wiki/Installation>
>
> is wrong/outdated, at least for Ubuntu.
>
> Several issues:
>
> # apt-get source gcc-4.7     # this installs the GCC tarballs in
> /usr/src/gcc-4.7/gcc-4.7-4.7.2
>
> is not true. The sources are installed in the current directory, not in
> /usr/src, at least for regular users.
>
> # vi debian/rules.patch      # search for the line reads "debian_patches
> += gcc-d-lang", and comment it out
>
> there is no such file as debian/rules.patch, only a debian/gdc.preinst,
> which has no patch line inside.
>
> # ./update-gcc.sh /usr/src/gcc-4.7/gcc-4.7-4.7.**2/src
>
> there is no script update-gcc.sh
>
> Finally, the script gcc-setup.sh has as sole help:
>
> Usage: ./setup-gcc.sh [OPTION] PATH
>
> which is quite cryptic. [OPTION] field should be... optional, however when
> called with:
>
> ./setup-gcc.sh ~/gcc/gcc-defaults-1.**120ubuntu8
>
> it says:
>
> error: invalid option '/home/e_ftotir/gcc/gcc-**defaults-1.120ubuntu8'
>
> Thanks.
>



The only exception to Debian/Ubuntu is that they are multiarch systems, and
you need to tell vanilla GCC where to find the library/headers.

Other than that, the general installation goes fine.


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20130325/5c043478/attachment.html>


More information about the D.gnu mailing list