Hi,
We have a big project consisting of a number of dependent projects. We keep all the relevant project files and source code in CVS. The only project files we check into CVS are:
.ccsproject
.cproject
.project
The depedent projects are all static libraries that are linked into the main executable project. Upon check out from CVS I noticed something quite annoying happening to the large static libraries. I would compile a large static library (containing more than 30 source files and takes more than 20 minutes to compile), but at the end of the compilation, the archiver indicates that it could not find one or two of the *.obj files. The static library was then built, but presumeably without the functions/objects from the particular *.obj files since it would give a linking error of the final main executable project.
Upon further inspection, I found that the particular *.obj files was in fact created from their respective source files (i.e. they were successfully compiled), so I'm not sure why the archiver could not find them. When I did a project clean and a full recompile of the static library, the archiver would from thereon find the *.obj files and everything then works fine.
I found that some of the other large static libraries did the same thing. By looking at the particular source files, there is no obvious reason why this should happen. I also played around with the linking order of the particular *.obj, but it made no difference. I guess this is more of a linking problem than compiler problem.
My setup:
- CCS 5.2.0.00069
- Compiler version: 7.3.4
- DSP/BIOS 5.41.13.42
- Windows 7 64-bit
Does anyone have an idea what could cause this??
Regards
Reinier