📄 install
字号:
Copyright 2001 Free Software Foundation, Inc.This file is part of the GNU MP Library.The GNU MP Library is free software; you can redistribute it and/or modifyit under the terms of the GNU Lesser General Public License as published bythe Free Software Foundation; either version 2.1 of the License, or (at youroption) any later version.The GNU MP Library is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITYor FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General PublicLicense for more details.You should have received a copy of the GNU Lesser General Public Licensealong with the GNU MP Library; see the file COPYING.LIB. If not, write tothe Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA02111-1307, USA. GMP PERL MODULE INSTALLATIONThis module can be compiled within the GMP source directory or movedelsewhere and compiled. An installed GMP can be used, or a specifiedGMP build tree. Both static and shared GMP builds will work.The simplest case is when GMP has been installed to a standard systemlocation perl Makefile.PL makeIf not yet installed then the top-level GMP build directory must bespecified perl Makefile.PL GMP_BUILDDIR=/my/gmp/build makeIn any case, with the module built, the sample program provided can berun perl -Iblib/arch sample.plIf you built a shared version of libgmp but haven't yet installed it,then it might be necessary to add a run-time path to it. For example LD_LIBRARY_PATH=/my/gmp/build/.libs perl -Iblib/arch sample.plDocumentation is provided in pod format in GMP.pm, and will have been"man"-ified in the module build man -l blib/man3/GMP.3pmor man -M`pwd`/blib GMPA test script is provided, running a large number of more or lesstrivial checks make testThe module and its documentation can be installed in the usual way make installThis will be into /usr/local or wherever the perl Config moduledirects, but that can be controlled back at the Makefile.PL stage withthe usual ExtUtils::MakeMaker options.Once installed, programs using the GMP module become simply perl sample.plAnd the documentation read directly too man GMP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -