Menu

#208 Something goes wrong when building uCsim

None
open
nobody
None
5
2025-11-10
2025-11-10
No

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.

Discussion

  • Philipp Klaus Krause

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,7 @@
    +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 ()
    +But what should I do when uCsim fails to build? All I see is something like
    
     ~~~~
     CXX 51-port.o
    
    • Group: -->
     
  • Daniel Drotos

    Daniel Drotos - 2025-11-10

    Issue

    make SILENT=no
    

    in ucsim root directory.

     
    👍
    1

Log in to post a comment.