This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc_tooldir
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Marcus Comstedt <marcus at mc dot pp dot se>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 12 Sep 2003 13:17:36 -0700
- Subject: Re: gcc_tooldir
- References: <yf9he3hwzrp.fsf@mc.pp.se>
On Fri, Sep 12, 2003 at 09:52:10PM +0200, Marcus Comstedt wrote:
>
> Hello.
>
> gcc/Makefile defines gcc_tooldir as
>
> gcc_tooldir = $(libsubdir)/$(unlibsubdir)/../$(target_alias)
>
> where $(unlibsubdir) is ../../..
>
> Is there any reason for this convolution as opposed to just setting
>
So you can relocate gcc to a different directory.
> gcc_tooldir = ${exec_prefix}/$(target_alias)
>
> ? The construction with all the ..'s is rather inconvenient since it
> depends on the existence of $(libsubdir), and on the absence of
> symlinks along the way.
That is a known problem.
H.J.