X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Thu, 22 Jul 2010 22:37:10 -0500 From: "Allan" Newsgroups: comp.os.msdos.djgpp References: <201007202032 DOT o6KKWEKS015930 AT delorie DOT com> Subject: Re: ANNOUNCE: DJGPP port of GMP-5.0.1 Date: Thu, 22 Jul 2010 22:37:11 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Message-ID: <88GdnSjfOr77k9TRnZ2dnUVZ_h6dnZ2d@earthlink.com> Lines: 59 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 4.226.105.84 X-Trace: sv3-yBUVgyyizwg8vIOixvgHke0D/tbMIpcClRgEniO/Kac79RXLET/7JDeA9YoCjggiEXCcePRhZGosMQ5!gXNsolRcCNlLFDhDhr89gzWGmXTIEFOHvJsoip1GMof3xmggnAARQ9Wmb5cJQivdLBN6m6kOOWIR!pIVMrLdl7aIXW2bokTRlUWyxW4Bfbhw= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 3667 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Andris Pavenis" wrote in message news:201007202032 DOT o6KKWEKS015930 AT delorie DOT com... > This is announcement of DJGPP port of GMP-5.0.1 > > What is GMP (fragment from GMP documentation) > =============================================== > > GNU MP is a portable library written in C for arbitrary precision > arithmetic on integers, rational numbers, and floating-point numbers. > It aims to provide the fastest possible arithmetic for all > applications that need higher precision than is directly supported > by the basic C types. > > See http://gmplib.org/ for more details. > > GMP is distributed under the GNU LGPL. This license makes the library > free to use, share, and improve, and allows you to pass on the result. > The license gives freedoms, but also sets firm restrictions on the use > with non-free programs. > > Available files > =============== > > ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gmp501b.zip > Binary archive of GMP-5.0.1 for DJGPP v2.03r2 > > ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gmp501d.zip > Documentation archive of GMP-5.0.1 for DJGPP v2.03r2 > > ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gmp501s.zip > Source archive of GMP-5.0.1 for DJGPP (source are > configured using DJGPP v2.03r2 for target > i386-pc-msdosdjgpp) > > ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gmp501s.zip > Source archive of GMP-5.0.1 for DJGPP (source are > configured using DJGPP v2.04pre for target > i386-pc-msdosdjgpp) > > ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gmp501b.zip > Binary archive of GMP-5.0.1 for DJGPP v2.04pre > > > Binary packages are built using GCC-4.4.4. > > Building GMP from gmp501s.zip is not tested without LFN support. > > Andris Pavenis > > Thanks a lot. In the gmp documentation it encourages you to build for the actual processor it will run on. For example I have a Pentium 4 processor so I reconfigured using `--build=pentium4-pc-msdosdjgpp'. Then as you already know in `gmp.h' the result will be `-mtune=pentium4 -march=pentium4' and when you compile mpfr and mpc it uses these values in CFLAGS. However I overkill and reconfigure both mpfr and mpc sources anyway. All tests passed using both GCC 4.4.2 and GCC 4.4.4.