This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc_tooldir
- From: Marcus Comstedt <marcus at mc dot pp dot se>
- To: gcc at gcc dot gnu dot org
- Date: 12 Sep 2003 21:52:10 +0200
- Subject: gcc_tooldir
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
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.
// Marcus