From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1975 invoked by alias); 4 Feb 2018 01:03:18 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 1964 invoked by uid 89); 4 Feb 2018 01:03:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*Ad:U*libffi-discuss X-HELO: mail-lf0-f51.google.com Received: from mail-lf0-f51.google.com (HELO mail-lf0-f51.google.com) (209.85.215.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 04 Feb 2018 01:03:15 +0000 Received: by mail-lf0-f51.google.com with SMTP id v188so36865773lfa.11 for ; Sat, 03 Feb 2018 17:03:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sIh5oTkvMsnraSkwMo76+q2kL3ED7jXsAgWgbU8qv3s=; b=ZLe4rwLNrscvnezD9WmzjwPu8qUeP54Osp5lE3slGuHD3mqgjqyQltu5fRbLw43BWi ScCO0Z/s4YoCUKzjaJ4h4848+P0KSX2tLLHDg20Owj+FfNq/E3p+XTAmDbreFuS7Uact fd/iAoAb88yiPYQYl2e8ZLGbSlTEzWXta1kIJN9htE3kK/BBO19cMxct9E5yAnA1XkaO HbkarQgCFMeEwxhnukjLd8/C6ZkoW5Thp2tdJ7o0mNsCnvT/USRfuX9OSVyWuspMn5Qg Osf1SoWQa3egeO7zdWgb2Yo3uKpPA6SX3AY2Q8uGUtqogQzYLwXXM7ggRvBrjPHpmRQQ 9FTw== X-Gm-Message-State: AKwxytfD5HKtimYQVyEXiNKrq+j7VYX7XXu+DxwJuad1Ar6wGUCcqEAO rNkkJcRgqrVw4vo/+q+RCfw9d4m2XeCLKU/l4tb+0g== X-Google-Smtp-Source: AH8x227CI0Cyj6k4KE3Zci/VrQ985rxg20IhP8lCYA3CQFw93WAcs3pa5BghmBekL2HCM3u/9lYFroKtgmw5xrYu0j0= X-Received: by 10.25.43.141 with SMTP id r135mr26176620lfr.48.1517706193410; Sat, 03 Feb 2018 17:03:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.80.8 with HTTP; Sat, 3 Feb 2018 17:03:12 -0800 (PST) In-Reply-To: References: From: Anthony Green Date: Sun, 04 Feb 2018 01:03:00 -0000 Message-ID: Subject: Re: Header installation directory To: noloader@gmail.com Cc: libffi-discuss@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018/txt/msg00004.txt.bz2 Jeffrey Walton 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 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