Has anyone tried using the Hi-Tech PIC18 C libraries with the MPLAB MCC18 compiler and linker? We're a small group that has been handed a legacy project which was written in MCC18. We are interested in employing the more standard and extended printf/sprintf functions of the Hi-Tech compiler. Regulatory issues prevent us from simply switching to the Hi-Tech compiler.
Specifically we are trying to replace the weak MCC18 approach of treating ROM and RAM string data differently (putsUSART and putrsUSART) and get to a standard printf which doesn't care whether the data is ROM or RAM based. In addition, we want printf/sprintf to handle floating point also without resorting to writing our own ftoa() function.
I've used the Hi-Tech compiler in the past, and their stdio functions are a pleasure to use unlike the MCC18's functions. We have both compilers, so I was thinking of creating a .LIB using the HiTech compiler and then linking that with the MCC18 code base.
Any comments from those who have tried it or use this would be greatly appreciated.