Skip to main content
SAlam.4
Associate
December 1, 2021
Question

Integration of a position dependent library (binary) in a threadx module ( position independent )

  • December 1, 2021
  • 1 reply
  • 1035 views

Hi, I am working on threadx.

So to set the context,

Module manager will host modules.

All the modules are compiled as position independent. Module manager however is not position independent.

Scenario : a third party library (binary) has to be used in a module.

Problem : the library binary is not compiled as position independent.

------------------------------------------------------------------------------------------------------------------------------

  • Any suggestions to link the binary with the module?

------------------------------------------------------------------------------------------------------------------------------

  • I have been theorizing to compile the library with the module manager and implement a function pointer interface. Any remarks/suggestions for the same are welcome.

Thank you!

This topic has been closed for replies.

1 reply

SAlam.4
SAlam.4Author
Associate
December 2, 2021

Update : Function pointer interface working beautifully. Any other suggestions are always welcome.

I am exploring ways to do it.

Best Regards,

Shabab