Re: Enabling 68K a.out/COFF support in tools?
Valery Ushakov <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Apr 06, 2023 at 21:32:36 +0900, Izumi Tsutsui wrote: > > Does anyone have any pointers for what I'd have to tweak to enable > > a.out & COFF formats in the NetBSD toolchain (for 68K at least) Heh, we've been discussing sunos/sparc a.out with phone and literally right at that momemnt this mail arrived :) > Using tools from netbsd-8 (i.e. binutils-2.27) should work. build.sh tools for -8 fails in on a modern host, b/c newer c++ compilers default to c++17, so compiling old cross-gcc from -8 fails: 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' -uwe