This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
What is the procedure to specify the inclusion of 3rd party library file in linker.cmd file??? Is it neccessary to specify it?
If the 3rd party library is using (suppose) 10 mb of memory, then should we need tospecify higher amount of memory in linker cmd file??(for stack & heap)
Hello,
AmirthaRaj said:What is the procedure to specify the inclusion of 3rd party library file in linker.cmd file??? Is it neccessary to specify it?
You can use the the below option in your cmd file:
-l <library>
AmirthaRaj said:If the 3rd party library is using (suppose) 10 mb of memory, then should we need tospecify higher amount of memory in linker cmd file??(for stack & heap)
Check and make sure the section the library will be allocated has space for it. I suggest reading section 7.5 of the Assembly Language User's Guide for your device to learn more about linger command files:
http://processors.wiki.ti.com/index.php/Before_asking_for_CGT_support#Compiler_User_Guides
Thanks
ki
hi ki-soo-lee,
Thanks for your answer.But if i specify -l C:/amir/xxxlib.lib, It is giving error that the path is not correct. But the file is there in the path specified.
What to do?
Thanks & Regards,
Amir.
The syntax looks correct. You can try wrapping the path in quotes but you shouldn't need it/
but is it necessary to include this path in linker file or we can just leave, without including anything regarding 3rd party library in linker file.
You need to add it to either the cmd file or the linker options in the project properties.