As far as I know, nobody here has been involved in the creation of winget manifests for SDCC. I found this, though: https://github.com/microsoft/winget-pkgs/issues/99198
Since SDCC effectively compiles on a per-function basis, keeping functions short is usually a good strategy. I am not aware of any integrated profiling capabilities beyond --cyclomatic.
The compiler prepending an underscore is the expected behavior. That happens to prevent name clashes. I believe that you can use inline assembly to copy the value of a global variable originating from assembly code to a variable originating from C code, provided that you use the name of the latter with a prepended underscore within the inline assembly code block.
NGI0-Commons-SDCC
[Z80] Add end-of-function marker
Closed as requested. See [feature-requests:#452].
Keep an eye on section A2 in [NGI0-Commons-SDCC] and the monthly progress reports at the top of that page. There is some progress, but the merging of sdas and upstream asxxxx has to be completed before this kind of functionality can be sensibly added.
SDCC 4.6.0 Release