You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by GitBox <gi...@apache.org> on 2022/01/19 11:31:00 UTC

[GitHub] [incubator-teaclave-trustzone-sdk] DemesneGH edited a comment on issue #56: 关于ta程序使用第三方库

DemesneGH edited a comment on issue #56:
URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/56#issuecomment-1012722948


   @gaojunjie03 
   
   > 调用第三方动态链接库呢?
   
   可以。这个是TA链接静态库的代码:https://github.com/apache/incubator-teaclave-trustzone-sdk/blob/c47db9923ebb1cce374e3a42dac21a6424bb897c/examples/hello_world-rs/ta/build.rs#L60
   
   动态库改成`rustc-link-lib=dylib=[library name]`。
   
   Edit: TA应该不能调用动态库,可以链接静态库。CA可以调用动态库和链接静态库。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@teaclave.apache.org
For additional commands, e-mail: dev-help@teaclave.apache.org