[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 1
From: |
Naofumi Yasufuku |
Subject: |
bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0 |
Date: |
Wed, 10 Aug 2022 23:42:21 +0900 |
Dario Gjorgjevski <dario.gjorgjevski@gmail.com> writes:
> Naofumi Yasufuku <naofumi@yasufuku.dev> writes:
>
>> './configure --with-native-compilation' fails if Homebrew libgccjit is
>> updated to 12.1.0. Attached configure.ac patch fixes this issue.
>> I think the same patch should be applied to emacs-28 branch.
>
> As an alternative to your patch and the general approach based on
> running `grep` over the output of `brew ls`, one can also use
>
> % brew ruby -e 'puts
> "#{:libgccjit.f.lib}/gcc/#{:gcc.f.any_installed_version.major}"'
> /usr/local/opt/libgccjit/lib/gcc/12
>
> for MAC_LIBS, and
>
> % brew ruby -e 'puts :libgccjit.f.include'
> /usr/local/opt/libgccjit/include
>
> for MAC_CFLAGS. This will work with both versions 11 and 12 of
> Homebrew's `libgccjit`.
>
Great. That makes sense to me. I think 'brew ruby' way is clearly
preferable over my attempt.
Regards,
Naofumi
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, (continued)
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Po Lu, 2022/08/07
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Eli Zaretskii, 2022/08/07
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Po Lu, 2022/08/07
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Stefan Kangas, 2022/08/07
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Eli Zaretskii, 2022/08/07
- bug#57029: macos cannot build emacs after updated gcc and libgccjit to 12.1, Gerd Möllmann, 2022/08/08
- bug#57029: macos cannot build emacs after updated gcc and libgccjit to 12.1, Lars Ingebrigtsen, 2022/08/07
bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Dario Gjorgjevski, 2022/08/09
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0,
Naofumi Yasufuku <=
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Eli Zaretskii, 2022/08/10
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Stefan Kangas, 2022/08/10
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Eli Zaretskii, 2022/08/11
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Dario Gjorgjevski, 2022/08/16
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Eli Zaretskii, 2022/08/16
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Dario Gjorgjevski, 2022/08/16
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Eli Zaretskii, 2022/08/16
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Dario Gjorgjevski, 2022/08/16
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Stefan Kangas, 2022/08/16
- bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0, Dario Gjorgjevski, 2022/08/16