diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2015-10-09 20:56:43 +0200 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2015-10-13 15:39:38 +0200 |
commit | dbd046be21faab7346db55f3dd638162a20f3941 (patch) | |
tree | 656033472290e8f0eaebeb3dc16148235859d8ea /Documentation | |
parent | 2e70585b98e6371aae2d00f3fcf537de0a3cfdab (diff) | |
download | coreclr-dbd046be21faab7346db55f3dd638162a20f3941.tar.gz coreclr-dbd046be21faab7346db55f3dd638162a20f3941.tar.bz2 coreclr-dbd046be21faab7346db55f3dd638162a20f3941.zip |
Implement CoCreateGuid using uuid_generate on Unix
We were generating GUIDs on Unix as random numbers. But that is not
correct since GUIDs have defined structure with bits having specific
meanings. For example, there are four bits that represent the type of
the GUID, which means whether the guid is randomly generated,
name based on SHA1, time based etc.
This change changes the CoCreateGuid to use the uuid_generate function
from the uuid library that should generate well-formed GUIDs on
Linux and OSX and the uuid_create on FreeBSD.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/building/linux-instructions.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/building/linux-instructions.md b/Documentation/building/linux-instructions.md index 73d1b925ab..837f60948a 100644 --- a/Documentation/building/linux-instructions.md +++ b/Documentation/building/linux-instructions.md @@ -27,6 +27,7 @@ Install the following packages for the toolchain: - gettext - libicu-dev - liblttng-ust-dev +- uuid-dev In order to get lldb-3.6 on Ubuntu 14.04, we need to add an additional package source: @@ -38,7 +39,7 @@ ellismg@linux:~$ sudo apt-get update Then install the packages you need: -`ellismg@linux:~$ sudo apt-get install cmake llvm-3.5 clang-3.5 lldb-3.6 lldb-3.6-dev libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev` +`ellismg@linux:~$ sudo apt-get install cmake llvm-3.5 clang-3.5 lldb-3.6 lldb-3.6-dev libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev uuid-dev` You now have all the required components. |