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.
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 tomain
can then be introduced via pre-inclusion:-Wp -include,auxheader.h
.