Re: Enabling 68K a.out/COFF support in tools?

Andrew Cagney <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <CAJeAr6tQ7v-fJTdTjXw8tBtfnG3GqM7ywRa070tcOiSLsQZcbw@mail.gmail.com>
>   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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.