I'm using CodeWarrior 5.1 and I just need to know what the maximum number of files the linker can link, if there is such a maximum.
Hi Murat,
I was informed by development team that,
There is no limitation on the maximum number of files (object files and libraries) the linker can link.
There might be limitations coming from the memory the linker process can use in the operating system beneath, but those limitations would be signaled with the appropriate error messages and are not directly related with the number of files to be linked.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you Jennie.
Then let me ask you this: under what circumstances would the linker link every object file except for some and without error? This is the situation I'm facing now and I can't see any reason for it. I have 102 object files that need to be linked. The linker links every single one of them except for the same two files. No error is generated so you assume everything was built fine until you examine the project.map file and realize that both of those files, and all labels within, are not included. What's common between these two files is that they include the interrupt vector table and all interrupt service routines. Note that the entire code is relocatable and written in assembly.
Hi Murat.
Could you check if the black dots are enabled for these two files you mentioned? This will inform linker to link the specific file.
If the black dots are already enabled for these two files, I would suggest you send your project to NXP support directly to check it.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------