Able to be compiled on Mac OS X (Mojave)?
I am trying to build this repo on Mac OS X, to see if I can get libc toolchain building on Mac OS ....
Building gdb is giving a lot of error (and millions of warnings).
They seem so fundamental, I think it must be a problem with the compiler or it's version used.
After configure, gdb/Makefile is using clang...
CC = clang
CXX = clang++
CXX_DIALECT = -std=gnu++11
$ clang --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
Examples of errors are:
darwin-nat.c:353:4: error: no matching function for call to 'delete_thread'
delete_thread (ptid_build (inf->pid, 0, old_id));
^~~~~~~~~~~~~
./gdbthread.h:396:13: note: candidate function not viable: no known conversion from 'ptid_t' to 'thread_info *' for 1st argument
extern void delete_thread (thread_info *thread);
^
Then if I comment that out to try, it continues with many more .....