gcc_tooldir

Marcus Comstedt marcus@mc.pp.se
Fri Sep 12 20:21:00 GMT 2003


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




More information about the Gcc mailing list