My Search Path contains :
"${CG_TOOL_ROOT}/lib"
"${CG_TOOL_ROOT}/include"
"${PROJECT_ROOT}"
"${PsimPath}"
Variables I created related to this are:
ProjDirPath = ${PROJECT_ROOT}
BspPath = ${ProjDirPath}\Lib_BSP_GanDriver
PsimName = PsimAuto
PsimPath = ${BspPath}\${PsimName} (C code)\
The problem:
1) As long as I locate the libraries PsBiosRomF03xFixpt.lib and PsBiosRamF03xFixpt.lib in the ${PROJECT_ROOT} folder, all is well.
2) If these libraries are relocated into the ${PsimPath} folder, a.k.a. "${ProjDirPath}\Lib_BSP_GanDriver\PsimAuto (C code)", it'll build just fine, however the build result is completely different and most notably at the moment, my SCI port fails. Since I have figured out that I need to locate these libs in the project folder for the time being, I apparently have a workaround for this issue, however I would like to undertsand the root cause.
What I also don't get:
1) I am getting no complaints about the way I defined the folder: no error or warnings associated with the name.
2) I am only moving library files from position #3 in the path to position #4. If it's finding the libraries in position #1 or #2, why aren't these always winning?
3) Is there any way to force the linker to report the folder it chose to use for each library?
Best regards,
Paul