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

Included module order change by export/import LIB

I habe built a project with µVision2 and generated a library (LIB file). I have imported this LIB into another µVision2 project. However, the link order of the imported modules within the LIB is now changed compared to the original order of the modules. This is a problem since I have to keep not only the module order, but also the init_segment should be kept invariant.
How can be kept the order of the included input module from the LIB? (I have used LIB51 LIBRARY MANAGER V4.24)

Parents
  • Unfortunately it doesn't helped me much. All variables and segments were already located absolutely (declared in the linker file). I think it would help me only if I could know the guidance logic by determining the order of the imported modules in a LIB. Thus, I could manage the relevant dependecies so that I could get exactly the same C_INITSEG as in BOOT project.
    Is it possible to get this information?

Reply
  • Unfortunately it doesn't helped me much. All variables and segments were already located absolutely (declared in the linker file). I think it would help me only if I could know the guidance logic by determining the order of the imported modules in a LIB. Thus, I could manage the relevant dependecies so that I could get exactly the same C_INITSEG as in BOOT project.
    Is it possible to get this information?

Children