The install guide at:

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.

Reply via email to