Re: Non-C/C++/ObjC source files in /usr/include subdirectories
Wichert Akkerman <wichert@wiggy.net> writes:
> Quoting from section 4.3 of the FHS 2.1:
>
>
> 4.3 /usr/include : Directory for standard include files.
>
> This is where all of the system's general-use include files for the C
> and C++ programming languages should be placed.
A, thanks.
> How about using /usr/share/ada instead?
That's essentially what the draft *** Ada Environment Specification
says[1]. However, /usr/lib/ada has to exist as well since some source
files might be architecture-dependent.
1. Here's the full text regarding /usr/{share,lib}/ada:
`/usr/share/ada'
The root directory for platform-independent Ada source files and
related files.
Platform-independent configuration files for `adaconfig' modules
are stored here. *Note Module Configuration: Configuration, for
details regarding these files.
`/usr/lib/ada'
The root directory for platform-dependent Ada source files,
auxiliary compiler help files, and related files.
Platform-De dependent configuration files for `adaconfig' modules
are stored here.
Directory `/usr/share/ada' contains the following subdirectories:
`/usr/share/ada/adainclude'
This directory SHOULD be used to store platform-independent Ada
source code files. It MUST be part of the default search path of
GNAT.
`/usr/share/ada/adainclude/MODULE'
This directory SHOULD be used to store platform-independent Ada
source code files for `adaconfig' module `MODULE'. It MUST NOT be
part of the default search path of GNAT.
Directory `/usr/lib/ada' contains the following subdirectories:
`/usr/lib/ada/adainclude'
This directory SHOULD be used to store platform-dependent Ada
source code files. It MUST be part of the default search path of
GNAT.
`/usr/lib/ada/adainclude/MODULE'
This directory SHOULD be used to store platform-dependent Ada
source code files for `adaconfig' module `MODULE'. It MUST NOT be
part of the default search path of GNAT.
`/usr/lib/ada/adalib'
This directory SHOULD contain all `.ali' and object files for the
source code in the `/usr/share/ada/adainclude' and
`/usr/lib/ada/adainclude' directories. Additional linker input
files (e.g. static `.a' libraries) used by code in these
directories are stored here as well
`/usr/lib/ada/adalib/MODULE'
This directory SHOULD contain all `.ali' and object files for the
Ada source code in the `/usr/share/ada/adainclude/MODULE' and
`/usr/lib/ada/adainclude/MODULE' directories. Additional linker
input files (e.g. static `.a' libraries) used by code in these
directories are stored here as well.
--
Florian Weimer Florian.Weimer@RUS.Uni-Stuttgart.DE
University of Stuttgart http://cert.uni-stuttgart.de/
RUS-CERT +49-711-685-5973/fax +49-711-685-5898
Reply to: