﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2114	gcc -print-search-dirs gives directories outside /tools directory	Marco Fonseca	lfs-book@…	"While creating a x86 toolchain using lfs as a guideline, I noticed that a ""gcc -print-search-dirs"" on my temporary toolchain printed out some undesirable results.  It contained references to /usr/... and others that  I had assumed was handled by the gcc 4.1.2 spec patch.

I dug in a little and found that gcc/gcc.c still had explicit hardcoded values for standard_exec_prefix_1 and standard_exec_prefix_2.  Additionally STANDARD_STARTFILE_PREFIX_1 and
STANDARD_STARTFILE_PREFIX_2 were also hardcoded although these were predicated on some conditional.  I found changing these references to """" removed the references to outside the /tool directory."	defect	closed	normal	7.0	Book	6.3	normal	invalid		
