I am puzzled, how did Fred alter the gcc search path for cc1?
the search path is "hard-wired" when the toolchain is built, gcc is in the bin folder and cc1 is in libexec/gcc/some-mingw/gcc-version
I tried a file compare but it found no difference between the gcc in the pbcompiler directory and the one in the mingw distribution
how can the versions be identical and yet behave differently?
puzzled by gcc and cc1
Re: puzzled by gcc and cc1
Found this:
https://wiki.debian.org/Multiarch/Libra ... tory_paths
Code: Select all
Directories searched by the compiler driver for executables (cc1, as, ...):
GCC directories
$(libexecdir)/gcc/$(target)/$(version)
$(libexecdir)/gcc/$(target)
$(libdir)/gcc/$(target)/$(version)
$(libdir)/gcc/$(target)
Toolchain directories
$(tooldir)/bin/$(target)/$(version)
$(tooldir)/bin
Re: puzzled by gcc and cc1
thank you firace, good reference however the mystery remains