SDCC currently supports the -Wa and -Wl pass through options which allow passing arbitrary switches to the assembler and linker. A -Wp pass through option should also be implemented to allow passing arbitrary switches to the preprocessor.
In my current project I needed to pass the -fno-show-column option to the preprocessor and had to modify the SDCC sources to allow a -Wp pass through option.
See attached diff for adding this to the current sources of SDCCmain.c
Log in to post a comment.