Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Build SGX Enclave using Clang/LLVM

Kopf__Benedikt
Beginner
1,558 Views

Hello,

I was wondering if it is possible to build a SGX enclave using Clang/LLVM instead of GCC. All examples I found use GCC.

Regards, Benedikt Kopf

0 Kudos
2 Replies
JesusG_Intel
Moderator
1,558 Views

Hello Benedikt,

It may be possible but Intel has not ported the Intel SGX SDK to Clang. You may encounter some difficulties due to differences between Clang and gcc. You can try out this independent 3rd party Github project, which is not supported by Intel, that is a fork of LLVM with SGX support

Regards,

Jesus

0 Kudos
Kopf__Benedikt
Beginner
1,558 Views
Hello Jesus, thank you very much for your help! Regards, Benedikt
0 Kudos
Reply