Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Best practice to include library into TA? #1003
i would like to ask what's the best practice to add a library to a TA (note: cross compiling the library to be used in the user-space was not hard). As a naive start, i followed the discussion of this issue #901. However, i quickly noticed after cross compiling the lib (libgmp) and adding it like in the issues mentioned before, that when i try to actually compile the TA not all functions required (linking) by the library are there, for example (among others):
Of course one could adapt the library, but that seems to be a quite cumbersome task.
You get an undefined reference to
A TA has to be fully statically linked, i.e., it can not use shared objects, let alone
Another option is to add the missing functions to