]> rtime.felk.cvut.cz Git - hercules2020/hercules-compiler.git/blobdiff - README.md
Update changelog for 2018.11-6 release
[hercules2020/hercules-compiler.git] / README.md
index 9465815ed663f0e3bc3405ccd3a3a510d6b8fd4c..3fcdb70e3c240967135f0559a453d153f6edf021 100644 (file)
--- a/README.md
+++ b/README.md
@@ -26,9 +26,16 @@ Simple method
 
 A simple method to create a native Debian package is the following:
 
-    apt install build-essential cmake ninja-build python3
+    apt install build-essential cmake ninja-build python3 gcc-5 g++-5
     make create-orig-tgz
-    dpkg-buildpackage -uc -us
+    dpkg-buildpackage -b -uc
+
+Note that gcc-5 may not be available in newer distributions such as
+Debian Stretch. It is possible to compile it from source. For example
+download its
+[Debian source package](http://ftp.debian.org/debian/pool/main/g/gcc-5/)
+and build it with `DEB_BUILD_OPTIONS="nolang=ada,fortran,java,objc"
+dpkg-buildpackage -b -uc -us`.
 
 Sbuild method - native
 ----------------------
@@ -75,10 +82,10 @@ qemu-user-static package so copy the static binaries from your host:
 Then modify /etc/apt/sources.list to contain the URL of arm64 package
 repository. This is the sources.list that I use:
 
-    deb [arch=amd64] http://cz.archive.ubuntu.com/ubuntu xenial main universe
+    deb [arch=amd64] http://cz.archive.ubuntu.com/ubuntu xenial main universe multiverse restricted
     deb-src http://cz.archive.ubuntu.com/ubuntu/ xenial main universe
 
-    deb [arch=arm64] http://ports.ubuntu.com/ xenial main universe
+    deb [arch=arm64] http://ports.ubuntu.com/ xenial main universe multiverse restricted
 
 Furthermore, Xenial has too old packages to cross build LLVM. For that
 reason, we backport the following packages: `cmake_3.7.2-1` from