This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Linking putchar from a custom library

Hi,

I try to create a library (.lib) file and i have wrote my custom versions of putchar and _getkey functions in it. Debugging the library project as executable the linker links my putchar and _getkey functions and everything works great. But wen i use the library file to an other project the linker links the default(keil) version of putchar/_getkey and not my custom versions in the library.

Does everybody knows why is that happening?
How can i solve that?

0