[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error compiling bison 3.4.2 on Solaris
From: |
Hans Åberg |
Subject: |
Re: Error compiling bison 3.4.2 on Solaris |
Date: |
Wed, 23 Oct 2019 23:30:54 +0200 |
> On 23 Oct 2019, at 22:45, Paul Eggert <address@hidden> wrote:
>
> On 10/22/19 11:08 PM, Akim Demaille wrote:
>
>> /opt/local/lib/gcc9/gcc/x86_64-apple-darwin18/9.2.0/include-fixed/os/base.h
>> ...
>> #ifndef __has_builtin
>> #define __has_builtin(x) 0
>> #endif
> rg/bugzilla/show_bug.cgi?id=66970
>> ... GCC folks want to emulate that compiler. By emasculating theirs.
>
> Actually, the GCC installation procedure derives its os/base.h from macOS's,
> so this problem is due to Apple: they don't particularly want you to use GCC,
> and they are in effect emasculating GCC in their <os/base.h>.
On MacOS 10.14, the system headers in /usr/include are removed, so I had to use
for C++, with g++ and gcc set to the real ones,
../mli-root/configure CXX=g++ CXXFLAGS=-g CC=gcc CFLAGS=-g CPPFLAGS="-isysroot
$(xcrun --show-sdk-path) -I /usr/local/include" LDFLAGS="-L /usr/local/lib”
- Re: Error compiling bison 3.4.2 on Solaris, (continued)
- Re: Error compiling bison 3.4.2 on Solaris, Akim Demaille, 2019/10/18
- Re: Error compiling bison 3.4.2 on Solaris, Akim Demaille, 2019/10/18
- Re: Error compiling bison 3.4.2 on Solaris, Paul Eggert, 2019/10/18
- Re: Error compiling bison 3.4.2 on Solaris, Akim Demaille, 2019/10/20
- Re: Error compiling bison 3.4.2 on Solaris, Paul Eggert, 2019/10/20
- Re: Error compiling bison 3.4.2 on Solaris, Akim Demaille, 2019/10/21
- Re: Error compiling bison 3.4.2 on Solaris, Paul Eggert, 2019/10/22
- Re: Error compiling bison 3.4.2 on Solaris, Akim Demaille, 2019/10/23
- Re: Error compiling bison 3.4.2 on Solaris, Akim Demaille, 2019/10/23
- Re: Error compiling bison 3.4.2 on Solaris, Paul Eggert, 2019/10/23
- Re: Error compiling bison 3.4.2 on Solaris,
Hans Åberg <=
- Re: Error compiling bison 3.4.2 on Solaris, Akim Demaille, 2019/10/24
- Re: Error compiling bison 3.4.2 on Solaris, Paul Eggert, 2019/10/24
- Re: Error compiling bison 3.4.2 on Solaris, Akim Demaille, 2019/10/25
- Re: Error compiling bison 3.4.2 on Solaris, Dagobert Michelsen, 2019/10/22