This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Read-only *.ali files in adalib installation?
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: GCC <gcc at gcc dot gnu dot org>
- Date: Wed, 14 Jun 2017 08:51:00 +0200
- Subject: Read-only *.ali files in adalib installation?
- Authentication-results: sourceware.org; auth=none
Hello,
I built an Ada cross-compiler and noticed that all the *.ali files in
adalib are read-only, e.g.
ll /opt/rtems-4.12/lib64/gcc/powerpc-rtems4.12/7.1.1/adalib/
[...]
-r--r--r-- 1 sebastian_h domain users 5210 Jun 12 14:06 i-fortra.ali
-r--r--r-- 1 sebastian_h domain users 2769 Jun 12 14:06 interfac.ali
-r--r--r-- 1 sebastian_h domain users 805 Jun 12 14:06 ioexcept.ali
-r--r--r-- 1 sebastian_h domain users 4179 Jun 12 14:06 i-pacdec.ali
-rw-r--r-- 1 sebastian_h domain users 1450556 Jun 12 14:30 libgnarl.a
-rw-r--r-- 1 sebastian_h domain users 16076716 Jun 12 14:30 libgnat.a
[...]
This is unlike the lib*.a files, which are user writeable. Its this
intentional? In a GCC installation with C, C++ and Ada only files of the
Ada domain have 0444 access permissions, e.g.
find /opt/rtems-4.12/ -perm 0444 | grep -v ada
outputs nothing and we have
find /opt/rtems-4.12/ -perm 0444 | wc
109750 109750 9202043
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.