Hi everyone,
I have two computer where I installed CW 10. The first is an XP computer (32 bit) where the installation path is "c:\program files\freescale\cw mcu v10.1"; the second one is a 7 computer (64 bit) where the installation path is "c:\program files (x86)\freescale\cw mcu v10.1". I have a NAS containing the workspace, the project and all the source files.
I can successfully open and build the project from both the computers. If I build the project on the XP computer, then I can even debug it on the same computer. However if I try to debug the project from the 7 computer I get the error
"make: *** No rule to make target `C:\Program Files\Freescale\CW MCU v10.1\MCU\ARM_EABI_Support\ewl\EWL_C\include\lib_ewl.prefix', needed by `Sources/main.obj'."
On the contrary, if I build the project on the 7 computer, then I can even debug it on the same computer. However if I try to debug the project from the XP computer I get the error
"make: *** No rule to make target `C:\Program Files (x86)\Freescale\CW MCU v10.1\MCU\ARM_EABI_Support\ewl\EWL_C\include\lib_ewl.prefix', needed by `Sources/main.obj'."
I made some investigation and I found that the file .\sources\main.d, generated by the building process related to the XP computer, contains the dependency list of the source file, that is written in a resolved form:
...
C:\Program Files\Freescale\CW\ MCU\ v10.1\MCU\ARM_EABI_Support\ewl\EWL_C\include\lib_ewl.prefix \
C:\Program Files\Freescale\CW\ MCU\ v10.1\MCU\ARM_EABI_Support\ewl\EWL_C\include\common.prefix \
C:\Program Files\Freescale\CW\ MCU\ v10.1\MCU\ARM_EABI_Support\ewl\EWL_C\include\ewl_c_version.h \
...
(A similar file is generated by the building process on the 7 computer where "Program Files" is substituted from "Program Files (x86)")
Is there a way to output this file in a non resolved form such:
...
${CW_INSTALLATION_PATH}\MCU\ARM_EABI_Support\ewl\EWL_C\include\lib_ewl.prefix \
${CW_INSTALLATION_PATH}\MCU\ARM_EABI_Support\ewl\EWL_C\include\common.prefix \
${CW_INSTALLATION_PATH}\MCU\ARM_EABI_Support\ewl\EWL_C\include\ewl_c_version.h \
...
where CW_INSTALLATION_PATH can be a system environment variable representing the installation path of CW?
Or is there another method to debug the same network project from different computers (maybe even at the same time)?
I would like to avoid uninstalling CW from one computer and then reinstalling it in the same path as the other computer.
Many thanks
Teckna
No one can help?