gmp
      ---
      gmp
      ---



links
distros
compile
gmp-6.1.1
gmp-6.2.0



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    -----
#   links
    -----

Home: https://gmplib.org/



gnutls depends on nettle *
                  gmp    *

nettle depends on gmp    *

gnutls optionally depends on libtasn1 *



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    -------
#   distros
    -------


I have been compiling in a few puppy distros.



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    -------
#   compile
    -------



https://gitlab.com/version2013/puppylinux/tree/master/gmp/compile_gmp
- Put 'compile_gmp' in '/mnt/home/compile'
- Give the file execute permission.
  # chmod a+x compile_gmp

This script is geared toward my puppy linux frugal installs.
It is partially automated.
gmp is compiled in the directory '/opt'
gmp .pet files are copied to the directory '/mnt/home/compile'
gmp dev and doc files are copied to the directory '/mnt/home/compile/temp' for later hash (checksum) compare.



gmp source files
https://gmplib.org/download/gmp/
- Extract contents of file and place in '/mnt/home/compile'



dir2pet

splitpkg.sh



using 'compile_gmp' on command line: ./compile_gmp ${1} ${2}
replace variables, ${1} ${2}, with appropriate version numbers.
${1} = gmp version
${2} = puppy distro version
valid puppy distro versions: 3.1, 4.1
example command: ./compile_gmp 6.2.0 3.1



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    ---------
#   gmp-6.1.1
    ---------

gmp mirrors

gmp-6.1.1-i486_v1.1.pet       puppy 431   stripped=true
gmp-6.1.1-i486_v1.2.pet       puppy 431   stripped=false
gmp_DEV-6.1.1-i486_v1.1.pet   puppy 431   stripped=true
gmp_DEV-6.1.1-i486_v1.2.pet   puppy 431   stripped=false
gmp_DOC-6.1.1-i486.pet        puppy 431



---------
puppy 431
---------

v1.1
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib CFLAGS="-O2"

v1.2
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib CFLAGS="-g -O0 -fno-optimize-sibling-calls -fno-omit-frame-pointer -fno-inline"



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------



    ---------
#   gmp-6.2.0
    ---------

gmp mirrors

gmp-6.2.0_v3.1.pet     tahrpup 6.0.5 PAE   stripped=true
gmp_DEV-6.2.0.pet      tahrpup 6.0.5 PAE

gmp64-6.2.0_v4.1.pet   tahrpup64 6.0.5     stripped=true
gmp64_DEV-6.2.0.pet    tahrpup64 6.0.5

gmp_DOC-6.2.0.pet



-----------------
tahrpup 6.0.5 PAE
-----------------

v3.1
# configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var ABI=32 CC="gcc -m32" -enable-fat CFLAGS="-O2"



------------
tahr64-6.0.5
------------

v4.1
# configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var ABI=64 -enable-fat CFLAGS="-O2"



-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------

















------------------
Edited 2020 Dec 05
------------------