Changes between Version 1 and Version 2 of gmp


Ignore:
Timestamp:
05/29/2007 07:17:35 AM (15 years ago)
Author:
Jaap Struyk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • gmp

    v1 v2  
    33[wiki:GeneralLibraries Up][[br]]
    44[wiki:BlfsNotes Top]
     5
     6For use on an HLFS system this package needs some extra effort.
     7First get a patch from gentoo hardened: http://ftp.riken.go.jp/Linux/gentoo/dev-libs/gmp/files/gmp-4.1.4-noexecstack.patch
     8
     9{{{
     10patch -Np1 -i ../gmp-4.1.4-noexecstack.patch
     11}}}
     12
     13Compile the package with:
     14
     15{{{
     16env CC="gcc -fno-stack-protector -fno-pic -fno-pie -nopie" \
     17./configure --prefix=/usr --enable-static=no --enable-shared=yes -with-pic &&
     18make &&
     19make check
     20}}}
     21
     22If the test wont give you any messages containing "cannot enable executable stack as shared object
     23requires" you can continue with a make install according the BLFS book.