This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Read-only *.ali files in adalib installation?
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 14 Jun 2017 09:01:23 +0200
- Subject: Re: Read-only *.ali files in adalib installation?
- Authentication-results: sourceware.org; auth=none
- References: <459b4671-6dbe-7716-f8de-30265c8be7af@embedded-brains.de>
> 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?
Yes for the ALI files, but no for the libraries (it doesn't matter for them).
--
Eric Botcazou