SDCC wrapper can be simplified
Opened this issue · 2 comments
roybaer commented
The upcoming 4.1.0 release of SDCC will allow some simplifications to the wrapper script sdcc.sh
.
Firstly, the compiler can be told to treat files of unknown type as C using -x c
, which makes the temporary copies of the source files unnecessary.
Secondly, the dummy pointer to main
can then be introduced via pre-inclusion: -Wp -include,auxheader.h
.
roybaer commented
Update: SDCC 4.2.0 will simplify pre-inclusion to --include auxheader.h
.