WDC816CC and sprintf
Posted: Tue Apr 30, 2024 11:19 am
... Or it might be better to call this WDC816CC and anything from fcntl as it seems that all the low level I/O stuff is missing.
Still if anyone has managed to use sprintf with WDC's C compiler I would dearly love to know how.
Compiling with the Large memory model (-ml) and linking with the Large C library (-lcl)then I get the following undefined symbols:
I also tried compiling with the Small memory model (-ms) and linking with the Small C library (-lcs)
but still get similar undefined symbols:
So I don't think it's a Large or Compact only deficiency.
Still if anyone has managed to use sprintf with WDC's C compiler I would dearly love to know how.
Compiling with the Large memory model (-ml) and linking with the Large C library (-lcl)
Code: Select all
wdc816cc.exe -bs -DUSING_816 -ml -wr -wu -so -sp -lt -pb -pp -px -o Main.obj Main.c
wdcln.exe -C20000,00000 -g -t -sz -HB -obin\VideoUpload.bin Main.obj -lcl -lmlCode: Select all
Undefined symbol: ~~unlink
Undefined symbol: ~~close
Undefined symbol: ~~isatty
Undefined symbol: ~~write
Undefined symbol: ~~lseekCode: Select all
wdc816cc.exe -bs -DUSING_816 -mcs -wr -wu -so -sp -lt -pb -pp -px -o Main.obj Main.c
wdcln.exe -g -t -sz -HB -obin\VideoUpload.bin Main.obj -lcs -lmsCode: Select all
Undefined symbol: _~unlink
Undefined symbol: _~close
Undefined symbol: _~isatty
Undefined symbol: _~write
Undefined symbol: _~lseek