<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Example of makefile having third-party static library linked to an Enclave (Linux) in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Example-of-makefile-having-third-party-static-library-linked-to/m-p/1171250#M3206</link>
    <description>&lt;P&gt;I'd like to compile a third-party or my own static library on Linux (.a file) into an enclave, as described in SGX developer reference for Linux OS, Library Development for Enclaves.&amp;nbsp; I anticipate one interface call from the untrusted application, so an edl file is needed.&lt;/P&gt;&lt;P&gt;Does anyone have an example of a Makefile showing a third-party static library being linked with an enclave on Linux?&amp;nbsp; I've not seen an example in the Sample Code and I think I'm putting the static library in the wrong place or not using the right options.&amp;nbsp; An example would be great, thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Dec 2018 15:27:45 GMT</pubDate>
    <dc:creator>Harris__David</dc:creator>
    <dc:date>2018-12-05T15:27:45Z</dc:date>
    <item>
      <title>Example of makefile having third-party static library linked to an Enclave (Linux)</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Example-of-makefile-having-third-party-static-library-linked-to/m-p/1171250#M3206</link>
      <description>&lt;P&gt;I'd like to compile a third-party or my own static library on Linux (.a file) into an enclave, as described in SGX developer reference for Linux OS, Library Development for Enclaves.&amp;nbsp; I anticipate one interface call from the untrusted application, so an edl file is needed.&lt;/P&gt;&lt;P&gt;Does anyone have an example of a Makefile showing a third-party static library being linked with an enclave on Linux?&amp;nbsp; I've not seen an example in the Sample Code and I think I'm putting the static library in the wrong place or not using the right options.&amp;nbsp; An example would be great, thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 15:27:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Example-of-makefile-having-third-party-static-library-linked-to/m-p/1171250#M3206</guid>
      <dc:creator>Harris__David</dc:creator>
      <dc:date>2018-12-05T15:27:45Z</dc:date>
    </item>
    <item>
      <title>Hi David.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Example-of-makefile-having-third-party-static-library-linked-to/m-p/1171251#M3207</link>
      <description>&lt;P&gt;Hi David.&lt;/P&gt;&lt;P&gt;If you take a look at the Local Attestation SGX sample on GitHub, you'll see that the 3 enclaves built in that project, all link in a common static library (libLocalAttestation_Trusted.a).&amp;nbsp; Hopefully this will help you link your static library in.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/intel/linux-sgx/tree/master/SampleCode/LocalAttestation" target="_blank"&gt;https://github.com/intel/linux-sgx/tree/master/SampleCode/LocalAttestation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 18:58:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Example-of-makefile-having-third-party-static-library-linked-to/m-p/1171251#M3207</guid>
      <dc:creator>Scott_R_Intel</dc:creator>
      <dc:date>2018-12-06T18:58:27Z</dc:date>
    </item>
  </channel>
</rss>

