This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Linker removes used code from a library

Hi,
first of all, we are generating code with IBM Rhapsody in C++.
In this case I am packing a library of a HAL to provide collegues with this.
When testing the library in a test project I must notice that one generated file, where only interrupt service routines are handled is removed from the linker of my test project.
No I am searching for a setting or option of the linker to prevent this.

I did have a similar problem a few weeks ago but I could handle it with calling an object in the file which was removed first.

But in this time I have no influences in changing the Rhapsody settings to let the linker know that I need the file.

I hope you understand my problem, otherwise please ask for details.

Thanks for your help.

Heiko

Parents Reply Children