egcs-1.0.3a, sparc-sun-solaris2.6: note on installation
Jeffrey A Law
law@cygnus.com
Wed May 20 21:04:00 GMT 1998
In message < 199805201910.PAA16443@rabi.phys.columbia.edu >you write:
>
> `make install' does not set the permissions and ownership correctly on
> the fixed includes. It appears that these were tarred across and
> expanded on the far side in `tar xplf' mode. They wound up being mode
> 600 and owned by the user I compiled as.
Yup. The install procedures make little attempt to set modes/owners.
This is a bug, but it's not high on the priority list right now.
> Also the PREFIX/TARGET/lib directory was mode 700; not
> sure why.
Check the umask that was in effect when you did the "make install"
> Why is PREFIX/TARGET created at all? It seems redundant
> given the existence of PREFIX/lib/gcc-lib/TARGET.
Cross compilers put lots of things there. It's also helpful for
natives because things like gas and binutils will install binaries
into that location (as well as $prefix/bin).
jeff
More information about the Gcc-bugs
mailing list