[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-toolchain
Subject:    Re: Enabling 68K a.out/COFF support in tools?
From:       Andrew Cagney <andrew.cagney () gmail ! com>
Date:       2023-04-08 21:23:04
Message-ID: CAJeAr6tQ7v-fJTdTjXw8tBtfnG3GqM7ywRa070tcOiSLsQZcbw () mail ! gmail ! com
[Download RAW message or body]

>   external/gpl3/gcc/dist/gcc/reload1.c:115:24: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
>
> You might need to build with HOST_CXX='c++ -std=c++11'

I used the following to build a v8 arm:

export HOST_CFLAGS='-fcommon -Wno-error -Wno-literal-suffix
-Wno-expansion-to-defined -Wno-implicit-fallthrough'
export HOST_CXXFLAGS='-fcommon -Wno-error -Wno-literal-suffix
-Wno-expansion-to-defined -Wno-implicit-fallthrough -std=c++11'

one of the C options was bogus but didn't matter.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic