Skip to content

Commit ded1442

Browse files
committed
Upate README.md for 2.9 release
Signed-off-by: Li, Xun <[email protected]>
1 parent e78301b commit ded1442

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Build the Intel(R) SGX SDK and Intel(R) SGX PSW Package
4747
* SUSE Linux Enterprise Server 12 64bits
4848

4949
- Use the following command(s) to install the required tools to build the Intel(R) SGX SDK:
50-
* On Ubuntu 16.04
50+
* On Ubuntu 16.04:
5151
```
5252
$ sudo apt-get install build-essential ocaml automake autoconf libtool wget python libssl-dev git
5353
```
@@ -74,6 +74,7 @@ Build the Intel(R) SGX SDK and Intel(R) SGX PSW Package
7474
```
7575
$ sudo yum update binutils
7676
```
77+
**Note**: To build Intel(R) SGX SDK, gcc version is required to be 7.3 or above and glibc version is required to be 2.27 or above. For Ubuntu 16.04, Red Hat Enterprise Linux 7.4, CentOS 7.5, Fedora 27, SUSE Linux Enterprise Server 12, you may need to update gcc and glibc version.
7778
- Use the following command to install additional required tools and latest Intel(R) SGX SDK Installer to build the Intel(R) SGX PSW:
7879
1) To install the additional required tools:
7980
* On Ubuntu 16.04 and Ubuntu 18.04:
@@ -101,13 +102,18 @@ Build the Intel(R) SGX SDK and Intel(R) SGX PSW Package
101102
$ ./download_prebuilt.sh
102103
```
103104
105+
- Copy the mitigation tools from external/toolset to /usr/local/bin and make sure they have execute permission:
106+
```
107+
$ sudo cp external/toolset/{as,ld,ld.gold,objdump} /usr/local/bin
108+
$ which as ld ld.gold objdump
109+
```
110+
104111
### Build the Intel(R) SGX SDK and Intel(R) SGX SDK Installer
105112
- To build Intel(R) SGX SDK with default configuration, enter the following command:
106113
```
107114
$ make sdk
108115
```
109-
You can find the tools and libraries generated in the `build/linux` directory.
110-
**Note**: You can also go to the `sdk` folder and use the `make` command to build the Intel(R) SGX SDK component only.
116+
You can find the three flavors of tools and libraries generated in the `build` directory.
111117
112118
- This repository supports to build the Intel(R) SGX SDK with below three combinations:
113119
* `USE_OPT_LIBS=0` --- build SDK using SGXSSL and open sourced String/Math
@@ -123,6 +129,7 @@ You can find the tools and libraries generated in the `build/linux` directory.
123129
```
124130
$ make sdk DEBUG=1
125131
```
132+
126133
- To clean the files generated by previous `make sdk` command, enter the following command:
127134
```
128135
$ make clean
@@ -135,7 +142,7 @@ You can find the generated Intel(R) SGX SDK installer ``sgx_linux_x64_sdk_${vers
135142
136143
**Note**: The above command builds the Intel(R) SGX SDK with default configuration firstly and then generates the target SDK Installer. To build the Intel(R) SGX SDK Installer with debug information kept in the tools and libraries, enter the following command:
137144
```
138-
$ make sdk_install_pkg DEBUG=1
145+
$ make sdk_install_pkg DEBUG=1
139146
```
140147
141148
### Build the Intel(R) SGX PSW and Intel(R) SGX PSW Installer

0 commit comments

Comments
 (0)