16842 – [3.4/4.0 Regression] mkheaders can not find mkheaders.conf (original) (raw)
Description Andreas Almroth 2004-07-31 09:04:18 UTC
The mkheaders script does not find the mkheaders.conf file, because it is using an incorrect path to the conf file. My build uses $prefix/lib/gcc/... instead of in the older releases prefix/lib/gcc−lib/...,sotheprefix/lib/gcc-lib/..., so the prefix/lib/gcc−lib/...,sotheprefix/libexec/.../mkheaders tries to read using the old path.
So I changed the
libsubdir=${libdir}/gcc-lib/${target_noncanonical}/${version}
line in libexec/gcc/i386-pc-solaris2.9/3.4.1/install-tools/mkheaders to
libsubdir=${libdir}/gcc/${target_noncanonical}/${version}
and it seems to work alright.