<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 25 March 2013 11:24, eles <span dir="ltr"><<a href="mailto:eles@eles.com" target="_blank">eles@eles.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The install guide at:<br>
<br>
<a href="http://gdcproject.org/wiki/Installation" target="_blank">http://gdcproject.org/wiki/<u></u>Installation</a><br>
<br>
is wrong/outdated, at least for Ubuntu.<br>
<br>
Several issues:<br>
<br>
# apt-get source gcc-4.7 # this installs the GCC tarballs in /usr/src/gcc-4.7/gcc-4.7-4.7.2<br>
<br>
is not true. The sources are installed in the current directory, not in /usr/src, at least for regular users.<br>
<br>
# vi debian/rules.patch # search for the line reads "debian_patches += gcc-d-lang", and comment it out<br>
<br>
there is no such file as debian/rules.patch, only a debian/gdc.preinst, which has no patch line inside.<br>
<br>
# ./update-gcc.sh /usr/src/gcc-4.7/gcc-4.7-4.7.<u></u>2/src<br>
<br>
there is no script update-gcc.sh<br>
<br>
Finally, the script gcc-setup.sh has as sole help:<br>
<br>
Usage: ./setup-gcc.sh [OPTION] PATH<br>
<br>
which is quite cryptic. [OPTION] field should be... optional, however when called with:<br>
<br>
./setup-gcc.sh ~/gcc/gcc-defaults-1.<u></u>120ubuntu8<br>
<br>
it says:<br>
<br>
error: invalid option '/home/e_ftotir/gcc/gcc-<u></u>defaults-1.120ubuntu8'<br>
<br>
Thanks.<br>
</blockquote></div><br><br><br></div><div class="gmail_extra">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.<br><br></div><div class="gmail_extra">
Other than that, the general installation goes fine.<br></div><div class="gmail_extra"><br clear="all"><br>-- <br>Iain Buclaw<br><br>*(p < e ? p++ : p) = (c & 0x0f) + '0';
</div></div>