From f41461814109f8e761102f2336d82e6616647958 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 4 Oct 2017 05:15:56 +0200 Subject: BUILD.txt: mention --enable-default-pie. Fix #425 --- BUILD.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BUILD.txt b/BUILD.txt index e5dded942..f70fbdb02 100644 --- a/BUILD.txt +++ b/BUILD.txt @@ -77,6 +77,8 @@ directory must be the same as the one used to configure ghdl. If you have manually built gmp/mpfr/mpc (without using the script in contrib) and if you have installed them in a non-standard directory, you may need to add --with-gmp=GMP_INSTALL_DIR. +If your system gcc was configured with --enable-default-pie (check if +that option appears in the output of gcc -v), you should also add it. $ mkdir gcc-objs; cd gcc-objs $ ../gcc-4.9.3/configure --prefix=/usr/local --enable-languages=c,vhdl \ -- cgit v1.2.3