This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use $CFLAGS to calculate multi_os_directory in configure.ac.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]