From: R Veera Kumar Date: Sun, 23 May 2021 14:45:08 +0000 (+0530) Subject: Updated gcc configure command. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c911ec879fbdfaa45ac46a766dc159c86ef42873;p=dev-env-setup.git Updated gcc configure command. Added --enable-default-pie to gcc configure command. This argument should match the system installed gcc default settings. Otherwise built ghdl runned linker errors. To know system gcc settings, run: gcc -v --- diff --git a/ghdl-install b/ghdl-install index 3de01a1..7888018 100755 --- a/ghdl-install +++ b/ghdl-install @@ -38,7 +38,7 @@ cd build ../configure --with-gcc=../../gcc-10.3.0 --prefix=/usr/local/ghdl make copy-sources mkdir gcc-objs; cd gcc-objs -../../../gcc-10.3.0/configure --prefix=/usr/local/ghdl --enable-languages=c,vhdl --disable-bootstrap --disable-lto --disable-multilib --disable-libssp --disable-libgomp --disable-libquadmath +../../../gcc-10.3.0/configure --prefix=/usr/local/ghdl --enable-languages=c,vhdl --disable-bootstrap --disable-lto --disable-multilib --disable-libssp --disable-libgomp --disable-libquadmath --enable-default-pie make -j$(nproc) make install cd ..