This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can't build correctly working crosscompiler with 4.3.0. 4.2.1 worked like charm
On Wed, Apr 16, 2008 at 10:24:35PM +0200, Denys Vlasenko wrote:
> It seems that 4.2.1 was testing "/usr/lib/../x86_64-linux-uclibc/include",
> i.e. "$libdir/../x86_64-linux-uclibc/include". From the listing above
> I see them 4.3.0 does not do that anymore - there is no
> "/../x86_64-linux-uclibc/include"... or maybe there is, in the form of:
> "xxx/../lib/gcc/x86_64-linux-uclibc/4.3.0/../../../../x86_64-linux-uclibc/include"
Correct. A relocated GCC 4.2.1 installation would still search
various directories in their unrelocated paths. This was a bug and
I'm sorry to hear that fixing it broke your setup. It could cause all
sorts of problems when you have two versions of GCC installed.
The documented (well, I think it is?) directory being searched here is
$exec_prefix/$target/include.
> (Is it necessary to do this "/../../../../" thing?)
Yes, because that's how the directories are found.
--
Daniel Jacobowitz
CodeSourcery