Forum - gmp-6.1.2

Jump to navigation Jump to search
Overview > Topics > Porting > gmp-6.1.2
[#17]

Hello,

I confirmed that "make check" of gmp-6.1.2 was passed by NEC C/C++ compiler version 2.3.0 with the attached patch. This patch is necessary to avoid multiple definition errors.

$ tar jxvf gmp-6.1.2.tar.bz2
$ patch -p0 < gmp-6.1.2.patch
$ cd gmp-6.1.2
$ ./configure --prefix="directory-name" --host=none CC=ncc-2.3.0 CFLAGS="-O2 -finline-functions" CXX=nc++-2.3.0 CXXFLAGS="-O2 -finline-functions" AR=nar RANLIB=nranlib
$ make install
$ make check
Posted by NEC admin (administrator) on 17 June 2022 at 00:27.
Edited by NEC admin (administrator) on 20 June 2022 at 08:13.