This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: [PATCH] Use $CFLAGS to calculate multi_os_directory in configure.ac.
- From: Anthony Green <green at moxielogic dot com>
- To: Samuli Suominen <ssuominen at gentoo dot org>
- Cc: libffi-discuss at sourceware dot org
- Date: Mon, 03 Mar 2014 09:10:09 -0500
- Subject: Re: [PATCH] Use $CFLAGS to calculate multi_os_directory in configure.ac.
- Authentication-results: sourceware.org; auth=none
- References: <20140303123619 dot GA7627 at linux dot vnet dot ibm dot com> <531477A9 dot 5010007 at gentoo dot org> <5314783D dot 6090401 at gentoo dot org> <20140303125625 dot GA18044 at linux dot vnet dot ibm dot com> <53147D77 dot 50605 at gentoo dot org>
Samuli Suominen <ssuominen@gentoo.org> writes:
> On 03/03/14 14:56, Dominik Vogt wrote:
>> While we're talking about installations paths: "make istall"
>> should really install ffi.h to <prefix>/include/libffi... and not
>> to <prefix>/lib/libffi.../include. It doen't respect --installdir=
>> either.
>>
>> Ciao
>>
>> Dominik ^_^ ^_^
>>
>
> The headers are arch specific and belong to libdir. The use of
> pkg-config is mandatory:
>
This is true. However, I'd like it to change. We should be able to
install the headers in /usr/include through careful use of compiler
defined macros. I got most of the way through this change last year
when I hit the Power port. The Power port is complex thanks to the wide
variety of targets and compilers we support (multiple flavours of AIX,
Darwin and Linux, each with their own compilers).
I can try this again for 3.0.15 (or 4?) on a git branch if I can get
some support on the Power side of things. Volunteers?
AG