Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch

Ads

Discussion Groups

Discussion Groups | Code-Composer | Linker accepts only 7 library search directories - what to do ?

Technical discussions about Code Composer Studio.

  

Post a new Thread

Linker accepts only 7 library search directories - what to do ? - greg...@yahoo.com - Jan 18 9:36:13 2007



I'm using CCS 2.2. I split my project into several libraries to achieve better modularity.
But afterwards linker started to report an error about too manu -i options used ( library
search directories ). 
I was able to solve the problem but I run into other problem - my specific cmd file ( linker
command file ) didn't work correctly any more. I specify in it, in which memory to put specific
sections from specific libraries. Linker reports sections from my libraries are not found and
place them in default memory ( internal RAM ) which is too small. The result is I cannot build
the application. 

I tried these solutions:
1. following help, I created A_DIR environement variable pointing to directories containing
libraries --> sections not found
2. I copy in the pre-build step all libraries into one directory. This directory is one and
only "library search" directory --> sections not found
3. I created one library containing all libraries --> undocumented error about missing
symbol information appeared
4. I specified full paths to the libraries in the linker command file and I didn't include them
in project file at all --> OK !

I found the solution, but it is not good for software developement, because I have to rewrite
the file each time I want to switch between debug and release versions.

Did anybody solved this problem of inconsistent linker behaviour ?



(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )