My operating system is Windows XP Professional. I invoke "clearmake lib" from command prompt.
Windriver 5.8.0.0 compiler does run. This compiler tries to open some gcc parser configuration file but it cannot find the file because path to this file is incorrect as follows:
GNU options parser fatal error: config file wasn't found: $(CC_ROOT)\conf\gcc_parser.conf
In the makefile, CC_ROOT is defined as follows: CC_ROOT=$(CC_HOME)$/diab$/5.8.0.0
CC_HOME is defined as follows: CC_HOME = \folder1l\folder2\environment\WindRiver
The makefile also exports variables need by WindRiver Compiler as follows: export DIABLIB=$(CC_ROOT) export WIND_HOME=$(CC_HOME) export WIND_PREFERRED_PACKAGES=diab-5.8.0.0 export WIND_DIAB_PATH=$(CC_HOME)\diab\5.8.0.0
When I echo macros DIABLIB and CC_ROOT, I see they are replaced by their values, which is
the path. Then, why does $(CC_ROOT) appears in the path to file above? Why doesn't it's value appear in the path?
If I export DIABLIB without a macro as follows: export DIABLIB=\folder1\folder2\environment\WindRiver\diab\5.8.0.0
then, compilation is successful.
Thanks!
--------------------------------------- Posted through