cancel
Showing results for 
Search instead for 
Did you mean: 

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

SAlam.4
Associate

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!

1 REPLY 1
SAlam.4
Associate

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

I am exploring ways to do it.

Best Regards,

Shabab