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

Why buid success when lib linked and lib files compiled?

I'm using Keil uVision version 4.73. In my Options for Target I select RTX Kernel Operating System. This selection will add following to the Linker Control String in the Linker Tab:

C:\Keil\ARM\RV31\LIB\RTX_ARM_L.LIB
This means this operating system library will be linked when I build my project. In addition to linking this library, I have added all files used to create this library to my project as follows:

rt_Event.c
HAL_ARM.c
...

These files are in C:\Keil\ARM\RL\RTX\SRC\ARM folder.

Why does my build work ? I'm including same Operating System twice. Shouldn't I get re-defined symbols ?

Parents Reply Children