This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 2.96: g++ driver installation -- a proposal
- To: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Subject: Re: gcc 2.96: g++ driver installation -- a proposal
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 13 Jun 2000 15:37:24 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.GSO.3.96.1000606183152.11451H-100000@delta.ds2.pg.gda.pl>you
write:
> Hello,
>
> Unlike the gcc driver, the g++ one does not get installed under the
> $(tooldir) tree when it's a crosscompiler and it does not get installed as
> $(target_alias)-<name> when it's a native compiler. It complicates
> scripts unnecessarily which could otherwise assume the same rules to
> access g++ as those which apply to gcc (e.g. set $PATH to ${tooldir} or
> specify $GXX as ${target_alias}-g++ when invoking `configure').
>
> I've prepared the following patch to circumvent this inconveniece.
>
> Tue Jun 6 16:40:16 2000 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
>
> * Make-lang.in (c++.install-common): Install g++-cross in
> $(gcc_tooldir)/bin as g++ and c++; g++ in $(bindir) as
> $(target_alias)-g++ and $(target_alias)-c++.
Thanks. Installed.
jeff