Ludovic Brenta <ludo...@ludovic-brenta.org> writes:

> The package gcc provides the symlink /usr/bin/gcc -> gcc-x.y and depends
> on the package gcc-x.y.  Here, x.y=4.3.
>
> The package gnat provides the symlink /usr/bin/gnatgcc -> gcc-x.y and
> depends on the package gcc-x.y.  Here, x.y = 4.4.
>
> Therefore, the proper fix is to patch gprmake to call gnatgcc instead of
> gcc.  This ensures that gprmake always call the same version of gcc as
> gnat does.
>
> (Also, you can have both gcc-4.3 and gcc-4.4 installed at the same time;
> this is indeed your case.)

gnatmake calls gcc-4.4, rather than gnatgcc. So I've patched the
default gprbuild config files to call gcc-4.4, g++-4.4, etc., and
added a README.Debian that points to how to change that for other
versions. I think that's better than relying on symlinks.

Fixed in Ada France mtn 4da8a79ec7d7c51a5619ded32dbf0cc66c14c495

-- 
-- Stephe



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to