Nachdem ich mir einen Wolf suche wo mein Fehler liegt, dass ich kein
eigenes "printf" mit den PIC16FXXX Controllern und SDCC hinbekomme,
finde ich im Manual unter "Known Bugs":
1 | 4.5.9.1 Function arguments
|
2 |
|
3 | Functions with variable argument lists (like printf) are not yet supported. Similarly, taking the address of the first argument passed into a function does not work: It is currently passed in WREG and has no address..
|
D.h. doch, dass das mit SDCC grundsätzlich nicht funktionieren wird!
(oder sehe ich das falsch?)
Gibt es einen freien (am besten open source) Compiler unter Linux, der
mit variabler Argumentenanzahl funktioniert ?