From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#45934: native-comp - Dylib ID of ELN files not optimal Date: Fri, 6 Aug 2021 17:37:17 +0100 Message-ID: References: <7D999BAF-3306-4625-B062-E4512363E584@yahoo.it> <87mtq4m16u.fsf@gnus.org> <87eeb9hf63.fsf@gnus.org> <87im0ki2lq.fsf@gnus.org> <877dgyc0fw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37850"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Davide Restivo , 45934@debbugs.gnu.org, xgutter@yahoo.it, Andrea Corallo To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 06 18:38:18 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mC2rS-0009gW-BJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 18:38:18 +0200 Original-Received: from localhost ([::1]:38080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mC2rR-0005gI-7k for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 12:38:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC2rC-0005fj-K5 for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 12:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mC2rC-0003gk-Do for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 12:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mC2rC-0006sw-AW for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2021 12:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Aug 2021 16:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45934 X-GNU-PR-Package: emacs Original-Received: via spool by 45934-submit@debbugs.gnu.org id=B45934.162826785526428 (code B ref 45934); Fri, 06 Aug 2021 16:38:02 +0000 Original-Received: (at 45934) by debbugs.gnu.org; 6 Aug 2021 16:37:35 +0000 Original-Received: from localhost ([127.0.0.1]:51230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC2ql-0006sB-3N for submit@debbugs.gnu.org; Fri, 06 Aug 2021 12:37:35 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:43519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC2qf-0006rt-5i for 45934@debbugs.gnu.org; Fri, 06 Aug 2021 12:37:33 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 98441290; Fri, 6 Aug 2021 16:37:22 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1628267841; bh=aRXXXLE00jaig6N+tlbZONGbY4TjCqIo6Z7k+jc0f6I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p3i/wuWn9oHwRhPGJNP++kKyNlzK66mcmfbzEzyECtZaOWgrcolIyfKrhYhG9hRZD wEgLAiYhjIgRk4F+DNw74AXJ0NRZRaIas8gzLuE+bfw56kMsVERhAFeg4sKsRtQ2nG ZA7uX4d0dlWUEdJMYWhUPPb1edDhp1doIP7C+vTsenR6hDAl81fZqzrFDk4tzM4Axn SFkvM2w0JfUfGDXWMln5UithW1e+740a6P/083MgNfI3XHx434ExIYh8ZA2NV59d3Y DCexwi4QiQEXjThMlTjYCHk9b/sAJ2tIOsonWsjlM6xk6YsBn0X1JTE5MCIVa+hkgv ULmuO8pQS0bqQ== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mC2qT-000Fvd-6h; Fri, 06 Aug 2021 17:37:17 +0100 Mail-Followup-To: Alan Third , Lars Ingebrigtsen , Andrea Corallo , Davide Restivo , 45934@debbugs.gnu.org, xgutter@yahoo.it Content-Disposition: inline In-Reply-To: <877dgyc0fw.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211338 Archived-At: On Fri, Aug 06, 2021 at 12:49:39PM +0200, Lars Ingebrigtsen wrote: > Alan Third writes: > > > I finally found the code that works it out for Homebrew. I've never > > used MacPorts but I think all you need to do is something similar to > > (from configure.ac:3820): > > > > CFLAGS="$CFLAGS -I${BREW_LIBGCCJIT_PREFIX}/include" > > LDFLAGS="$LDFLAGS -L${brew_libdir} -I${BREW_LIBGCCJIT_PREFIX}/include" > > > > Where "${BREW_LIBGCCJIT_PREFIX}/include" is where the include files > > are and ${brew_libdir} is where the .so files are. > > Ah, thanks. With that I was able to cobble together a patch to make it > compile under Macos with Macports, but it obviously needs more work > before pushing. I'm not really familiar with the "port" command at all > -- can I get it to cough up which gcc version is installed, for > instance? If you look at the line just above the CFLAGS one in configure.ac there's a horrible little find/sed script that I had to come up with to work out the path to the lib directory because homebrew sticks them in a directory named 10 or 11 or whatever depending on the version of gcc. Perhaps it can be generalised for Macports too? -- Alan Third