Re: [9fans] How to generate a "debuggable" lex.yy.c?

2021-11-11 Thread gomfy via 9fans
Perfect, this worked. Thank you! -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tdade85f2048629bd-M7226e26d3cd8c13c50ce0dd9 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] tinyemu - riscv emulator

2021-11-11 Thread Richard Miller
> In the meantime I have some low-level programming work with your compiler > and tinyemu running on a Raspberry Pi 2B. That's good to know. My original motivation for developing the riscv toolchain was to use in "bare metal" programming of riscv soft cores implemented on FPGA.

Re: [9fans] How to generate a "debuggable" lex.yy.c?

2021-11-11 Thread Charles Forsyth
Perhaps add a copy of allprint, without the character counting, to replace the existing extern declaration in your ncform, still #ifdef'd with LEXDEBUG. The signature of allprint should also be static void allprint(Uchar) and the exotic initial lines of sub1.c's allprint can be removed. It needs a