I was trying to build snapshots using the nativecrosstools branch.
When sdcc fails to build, I can see the output from "make", look at the command that resulted in the failure, and track it down from there.
But what should I do when uCsim fails to build? All I see is something like
CXX 51-port.o
In file included from /home/sdcc-builder/build/sdcc-build/orig/sdcc/sim/ucsim/src/sims/s51.src/port.cc:35:
/home/sdcc-builder/build/sdcc-build/orig/sdcc/sim/ucsim/src/sims/s51.src/regs51.h:35:17: error: expected unqualified-id before numeric constant
35 | #define B 0xf0 /* B register (secondary accumulator) */
| ^~~~
And while I can do a "make" in sdcc/sim/ucsim/src/sims/s51.src to try to build, I have no idea what command resulted in the failure, and "make --no-silent" also doesn't provide any extra output.
Diff:
Issue
in ucsim root directory.