While building the WinCE 5.0 OAL I need to implement a device specific
version of a function, that is defined in the x86\COMMON source tree. I
added a new file to the platform specific OAL and implemented the function.
But the linker does not use my implementation. Instead is uses the version
from oal_other_x86.lib.
When I defined another dummy function in my implementation source file, my
function is linked. So I can state, that the function fulfills the linker
requirements. I assume that my function is not linked, because the linker
has found the implementation in oal_other_x86, because of the the search
order.
In the SOURCES file I can find the oal.lib (with my implementation) before
the oal_other_x86.lib. I excpected that the order in the TARGETLIBS macro
define the order.
What's wrong? How dow I overload the default implementation?
/Helge