This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Header installation directory
- From: Anthony Green <green at moxielogic dot com>
- To: noloader at gmail dot com
- Cc: libffi-discuss at sourceware dot org
- Date: Sat, 3 Feb 2018 20:03:12 -0500
- Subject: Re: Header installation directory
- Authentication-results: sourceware.org; auth=none
- References: <CAH8yC8kR_xGdXy72MZO++2VhZk1utOaZvU75d1CBVgdKdfGkiQ@mail.gmail.com>
Jeffrey Walton <noloader@gmail.com> writes:
> The header file location seems a bit unusual. Are headers supposed to
> be installed below the libdir?
Hi Jeff,
Thanks for your note. See this thread for background info:
https://sourceware.org/ml/libffi-discuss/2017/msg00000.html
It's likely that nobody cares about multi-arch headers anymore, so maybe
we should just forget about this and dump the arch specific headers in
/usr/include.
Would anybody object?
AG
On Fri, Feb 2, 2018 at 1:28 PM, Jeffrey Walton <noloader@gmail.com> wrote:
> Hi Everyone,
>
> My apologies for this question... I configured with
> --prefix=/usr/local and --libdir=/usr/local/lib64 on Fedora. Build and
> install seems to go well, but this caught my eye:
>
> gmake[3]: Nothing to be done for 'install-exec-am'.
> /bin/mkdir -p '/usr/local/lib64/libffi-3.2.1/include'
> /bin/install -c -m 644 ffi.h ffitarget.h
> '/usr/local/lib64/libffi-3.2.1/include'
>
> The header file location seems a bit unusual. Are headers supposed to
> be installed below the libdir?
>
> The libffi home page does not discuss header file location, and I did
> not see an INSTALL or README to look it up. I also did not see an
> option when running ./configure --help.
>
> Looking at Stallman's
> https://www.gnu.org/software/make/manual/html_node/Directory-Variables.html
> , I don't really see a place for a version-specific set of header
> files. It looks like the convention is to overwrite old headers with
> new headers when from the same package.
>
> Thanks in advance,
>
> Jeff