亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tour-unix.html

?? 大數運算類
?? HTML
字號:
<html>
<head>
<title>
A Tour of NTL: Obtaining and Installing NTL for UNIX  </title>
</head>

<body bgcolor="#fff9e6">
<center>
<a href="tour-stdcxx.html"><img src="arrow1.gif" alt="[Previous]" align=bottom></a>
 <a href="tour.html"><img src="arrow2.gif" alt="[Up]" align=bottom></a> 
<a href="tour-win.html"> <img src="arrow3.gif" alt="[Next]" align=bottom></a>
</center>

<h1> 
<p align=center>
A Tour of NTL: Obtaining and Installing NTL for UNIX 
</p>
</h1>

<p> <hr> <p>

To obtain the source code and documentation for NTL,
<a href="http://www.shoup.net/ntl/download.html">
download <tt>ntl-xxx.tar.gz</tt></a>,
placing it a directory, and then, working in this directory,
do the following.
Here, "<tt>xxx</tt>" denotes the current version number.

<p>
<b>Step 1.</b>
Extract the source files by executing:
<pre>
   % gunzip ntl-xxx.tar.gz
   % tar xvf ntl-xxx.tar
</pre>

<p>
Note that this will unpack everything into a sub-directory <tt>ntl-xxx</tt>,
creating this directory if necessary.
Next:
<pre>
   % cd ntl-xxx
   % ls
</pre>
You should see a file "<tt>README</tt>", and directories 
"<tt>include</tt>", "<tt>doc</tt>", and "<tt>src</tt>".
The directory "<tt>doc</tt>" contains all the documentation.
The file "<tt>doc/tour.html</tt>" contains a copy of the on-line documentation.
The directory "<tt>include</tt>" 
contains all the header files within a subdirectory
"<tt>include/NTL</tt>".
The directory "<tt>src</tt>" contains everything else.
Go there now:
<pre>
   % cd src
</pre>

<p>
<b>Step 2.</b>
Run the configuration script.

<p>
Execute the command
<pre>
   % ./configure [ variable=value ]...
</pre>

This configure script generates the file "<tt>makefile</tt>" and the file
"<tt>../include/NTL/config.h</tt>", based upon the values assigned to the
variables on the command line.


<p>

Here are the most important variables, and their default values.

<p>
<pre>
   CC=gcc               # The C compiler
   CXX=g++              # The C++ compiler
   CFLAGS=-O2           # C complilation flags
   CXXFLAGS=$(CFLAGS)   # C++ compilation flags (by default, same as CFLAGS)

   PREFIX=/usr/local    # Directory in which to install NTL library components

   NTL_STD_CXX=off      # ISO Mode switch

   NTL_GMP_LIP=off      # Switch 'on' to enable the use of GMP as the primary
                        # long integer package
   NTL_GMP_HACK=off     # Switch 'on' to enable the use of GMP as a supplemental
                        # long integer package

   GMP_PREFIX=none      # Directory in which GMP components have been installed
</pre>

<p>
<i>Examples.</i>
<p>

<ul>
<li>
If you are happy with all the default values, run:
<pre>
   % ./configure
</pre>
Actually, the initially installed <tt>makefile</tt> and <tt>config.h</tt> files
already reflect the default values, and you do not have to even run
the configure script.

<p>
<li>
If your C/C++ compilers are called cc/CC, run:
<pre>
   % ./configure CC=cc CXX=CC
</pre>

<p>
<li>
If you want to use, say, the options <tt>-g</tt> and <tt>-O</tt> for 
compiling <tt>C</tt> and <tt>C++</tt>, run:
<pre>
   % ./configure "CFLAGS=-g -O"
</pre>
Note the use of quotes to keep the argument in one piece.

<p>
<li>
If <a href="tour-gmp.html">GMP (the GNU Multi-Precision package)</a>  
is installed in a standard system directory, and you want to use it
to obtain better performance for long integer arithemtic, run:
<pre>
   % ./configure NTL_GMP_LIP=on
</pre>
If GMP was installed in a non-standard directory <tt>&lt;gmp_prefix&gt;</tt>,
so that <tt>&lt;gmp_prefix&gt;/include</tt> contains <tt>gmp.h</tt>
and <tt>&lt;gmp_prefix&gt;/lib</tt> contains <tt>libgmp.a</tt>,
run:
<pre>
   % ./configure NTL_GMP_LIP=on GMP_PREFIX=&lt;gmp_prefix&gt;
</pre>
Go <a href="tour-gmp.html">here</a> for complete details.

<p>
<li>
If you want to use 
<a href="tour-stdcxx.html">ISO mode to enable namespaces</a>, run:
<pre>
   % ./configure NTL_STD_CXX=on
</pre>

<p>
<li>
If you want to install NTL in directory <tt>&lt;prefix&gt;</tt>,
run:
<pre>
   % ./configure PREFIX=&lt;prefix&gt;
</pre>
</ul>

<p>
There are a number of more esoteric configuration variables that can be set.
See <a href="config.txt"><tt>config.txt</tt></a> for a complete
description.

<p>
Note that all of these configuration options can also be set
by editing the two files <tt>makefile</tt>
and <tt>../include/NTL/def_config.h</tt> by hand.
These files are fairly simple and well documented, and so this is not
too hard to do.

<p>
Note that the file "<tt>../include/NTL/def_config.h</tt>"
contains a backup copy of the original <tt>config.h</tt> file,
and that the file "<tt>def_makefile</tt>"
contains a backup copy of the original <tt>makefile</tt> file.

<p>
This command is intended only as a convenience 
and -- more importantly -- to allow the configuration process
to be script driven.
This script does not perform any "magic", like finding out what
the local C compiler is called, etc.  
If the defaults are not
correct for your platform, you have to set an appropriate variable.



<p>
<b>Step 3.</b>
Execute <tt>make</tt>.

<p>
Just type:
<pre>
   % make
</pre>

<p>
The build  process after this point is fully automatic.
But here is a description of what happens.

<p>

<ol>
<li>
The makefile 
builds the file "<tt>../include/NTL/mach_desc.h</tt>", which defines some machine characteristics
such as word size and machine precision.
This is done by compiling and running a <tt>C</tt> program
called <tt>MakeDesc</tt>
that figures out these characteristics on its
own, and prints some diagnostics to the terminal.

<p>
<li>
A script is run that "automagically"
determines the best way to write a timing function
on your platform.
It tries different routines in the files <tt>GetTime1.c</tt>,
<tt>GetTime2.c</tt>, etc., and when it finds a good one,
it copies the file into <tt>GetTime.c</tt>.

<p>
<li>
The files "<tt>lip_gmp_aux_impl.h</tt>" and "<tt>../include/NTL/gmp_aux.h</tt>"
are generated for use with GMP.
If not using GMP, these files are still created, but they are empty.


<p>
<li>
The configuration wizard script is run.
This script works in a sub-directory, 
compiling several programs,
and performing a number of timing experiments,
in order to determine the optimal setting for a number of flags
in the file <tt>../include/NTL/config.h</tt>.
When the script finishes (it may take several minutes),
you will be told what the wizard thinks are the best settings,
and your <tt>config.h</tt> file will be automatically updated.
Note that any flags you set in Step 2 
will be in
effect while the wizard runs, and will be retained in the updated
<tt>config.h</tt> file, with the exception of the flags
<pre>
   NTL_LONG_LONG NTL_AVOID_FLOAT NTL_TBL_REM NTL_AVOID_BRANCHING NTL_FFT_PIPELINE
</pre>
which are set by the wizard. 
Also note that if you <i>do not</i> want the wizard to run,
you should pass <tt>WIZARD=off</tt> to the configure script;
however, this is not recommended.

<p>
<li>
The makefile will compile all the source files,
and then creates the library "<tt>ntl.a</tt>" in the current directory.
</ol>

<p>
Note that for finer control  you can optionally  break up this process 
into the five
component steps:
<pre>
   % make setup1
   % make setup2
   % make setup3
   % make setup4
   % make ntl.a
</pre>


<p>

<p>
<b>After NTL is built.</b>

<p>
Executing <tt>make check</tt> runs a series of timing and test programs.
It is a good idea to run this to see if everything really
went well.

<p>
Executing <tt>make install</tt>
copies a number of files to a directory <tt>&lt;prefix&gt;</tt> that you
specify by passing <tt>PREFIX=&lt;prefix&gt;</tt>
as an argument to <tt>configure</tt> at configuration time,
or as an argument to <tt>make install</tt> at installation time.
The default is <tt>/usr/local</tt>, so either you need root 
permissions, or you choose a <tt>&lt;prefix&gt;</tt> for which
you have write permission.
The files <tt>../include/NTL/*</tt> are copied into
<tt>&lt;prefix&gt;/include/NTL</tt>.
The file <tt>ntl.a</tt> is copied to <tt>&lt;prefix&gt;/lib/libntl.a</tt>.
The files <tt>../doc/*</tt> are copied into
<tt>&lt;prefix&gt;/doc/NTL</tt>.

<p>
You can also "fine tune" the installation procedure further.
See the <a href="config.txt">configure documentation</a> for details.

<p>
Executing <tt>make uninstall</tt> undoes <tt>make install</tt>.


<p>
Executing <tt>make clobber</tt> essentially
undoes <tt>make</tt>.
<i>Make sure you do this if you re-build NTL for a different architecture!</i>

<p>
Executing <tt>make clean</tt> will remove object files, but not 
<tt>ntl.a</tt>.
To rebuild after executing <tt>make clean</tt>, execute <tt>make ntl.a</tt>.


<p>
Assuming you have installed NTL as above,
to compile a program <tt>foo.c</tt> that uses NTL,
execute
<pre>
   g++ -I&lt;prefix&gt;/include -L&lt;prefix&gt;/lib foo.c -o foo -lntl -lm
</pre>
This compiles <tt>foo.c</tt> as a <tt>C++</tt> program
and creates the binary <tt>foo</tt>.
<p>
If you built NTL using <a href="tour-gmp.html">GMP</a>, execute:
<pre>
   g++ -I&lt;prefix&gt;/include -L&lt;prefix&gt;/lib -L&lt;gmp_prefix&gt;/lib  foo.c -lntl -lgmp -lm
</pre>
<p>
Of course, if <tt>&lt;prefix&gt;</tt> and <tt>&lt;gmp_prefix&gt;</tt>
are the same, you do not need to  duplicate the <tt>-L</tt> 
flags, and if either are standard directories, like <tt>/usr/local</tt>,
you can leave out the corresponding <tt>-I</tt> and <tt>-L</tt>
flags altogether.
<p>
This works even if you are not working in the directory
in which you built NTL.
If you <i>are</i> working in that directory, you can just execute
<pre>
   make foo
</pre>


<p> <p>
<p> <p>

<center>
<a href="tour-stdcxx.html"><img src="arrow1.gif" alt="[Previous]" align=bottom></a>
 <a href="tour.html"><img src="arrow2.gif" alt="[Up]" align=bottom></a> 
<a href="tour-win.html"> <img src="arrow3.gif" alt="[Next]" align=bottom></a>
</center>

</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文无字幕一区二区三区| 91精品在线一区二区| 久久精品这里都是精品| 国产资源精品在线观看| 久久久久久久av麻豆果冻| 国产成人aaa| 中文字幕制服丝袜一区二区三区| 粉嫩在线一区二区三区视频| 中文字幕一区二区在线观看| 日本久久电影网| 蜜臀av性久久久久av蜜臀妖精| 久久色中文字幕| 91看片淫黄大片一级在线观看| 亚洲在线一区二区三区| 日韩精品资源二区在线| 不卡一二三区首页| 亚洲国产一二三| 久久蜜桃一区二区| 色屁屁一区二区| 久久精品国产精品亚洲精品| 中文字幕乱码日本亚洲一区二区| 欧美在线啊v一区| 国内精品久久久久影院一蜜桃| 国产精品成人免费在线| 91精品国产综合久久精品性色| 国产一区三区三区| 亚洲综合在线免费观看| 26uuu久久综合| 欧美午夜免费电影| 国产精品综合网| 亚洲成人激情综合网| 久久综合色8888| 在线中文字幕一区二区| 国产精品亚洲一区二区三区在线| 亚洲一区二区三区四区在线观看| 2020日本不卡一区二区视频| 色94色欧美sute亚洲线路二| 国模冰冰炮一区二区| 亚洲超碰精品一区二区| 中文字幕国产一区二区| 欧美一级片在线观看| 色噜噜夜夜夜综合网| 国产sm精品调教视频网站| 三级精品在线观看| 亚洲猫色日本管| 国产日韩欧美不卡| 精品入口麻豆88视频| 欧美三级日韩三级国产三级| 不卡的av电影| 成人美女视频在线观看| 久久国产精品一区二区| 日本va欧美va欧美va精品| 伊人色综合久久天天| 日本一区二区三区四区 | 日韩国产欧美在线视频| 国产精品剧情在线亚洲| 欧美mv日韩mv亚洲| 5月丁香婷婷综合| 欧美专区日韩专区| 91理论电影在线观看| 成人av资源网站| 成人黄色小视频| 懂色av一区二区夜夜嗨| 国产成人亚洲综合色影视| 黄色成人免费在线| 国产真实精品久久二三区| 久久国产日韩欧美精品| 免费国产亚洲视频| 男人操女人的视频在线观看欧美| 亚洲国产欧美日韩另类综合| 亚洲综合色区另类av| 亚洲愉拍自拍另类高清精品| 亚洲三级在线免费| 亚洲精品伦理在线| 亚洲综合色网站| 午夜欧美视频在线观看| 日本美女一区二区| 久久99国产精品免费| 国内久久精品视频| 国产·精品毛片| 99久久99久久精品免费看蜜桃| 成人午夜电影网站| 91丨九色丨蝌蚪丨老版| 91在线视频18| 欧美日韩一二三| 日韩视频永久免费| 精品国产一区二区亚洲人成毛片 | 日韩精品一区二区在线观看| 欧美一区二区免费观在线| 日韩欧美一二三| 国产丝袜美腿一区二区三区| 国产精品久99| 亚洲综合自拍偷拍| 久久精品99久久久| 成人精品免费网站| 欧美亚洲国产bt| 欧美电影精品一区二区| 国产亚洲1区2区3区| 亚洲精品日产精品乱码不卡| 亚洲国产wwwccc36天堂| 久久精品国产精品亚洲红杏| 高清不卡在线观看| 欧美综合一区二区| 久久人人97超碰com| 亚洲黄色免费电影| 久久精品国产一区二区| 丁香六月综合激情| 欧美日本在线观看| 国产网红主播福利一区二区| 亚洲激情五月婷婷| 黄色日韩网站视频| 在线亚洲欧美专区二区| 日韩亚洲欧美在线观看| 中文字幕制服丝袜成人av| 亚欧色一区w666天堂| 国产精品123区| 欧美日韩精品免费| 国产三级三级三级精品8ⅰ区| 亚洲最色的网站| 粉嫩av一区二区三区| 欧美日韩国产综合一区二区三区| 久久精品一区蜜桃臀影院| 一区二区三区精密机械公司| 九九国产精品视频| 欧美亚洲丝袜传媒另类| 国产精品美女视频| 久久精品国产在热久久| 欧美午夜宅男影院| 成人免费在线观看入口| 激情综合亚洲精品| 欧美麻豆精品久久久久久| 中文字幕中文字幕一区| 韩国av一区二区| 欧美一区二区在线不卡| 亚洲精品国产一区二区三区四区在线| 久久精品999| 欧美日韩一级二级| 一区二区三区不卡在线观看 | 国产精品国产成人国产三级 | 国产曰批免费观看久久久| 欧美性受xxxx黑人xyx性爽| 国产精品久久久久一区二区三区共 | 亚洲综合成人在线视频| 高清不卡在线观看av| 精品福利二区三区| 日本91福利区| 欧美日韩一区二区三区在线 | 久久久久久久久久久99999| 奇米一区二区三区| 欧美日韩一区在线| 亚洲国产美女搞黄色| 色狠狠色噜噜噜综合网| 亚洲视频在线观看三级| 成人免费毛片aaaaa**| 亚洲国产高清aⅴ视频| 国产iv一区二区三区| 国产欧美精品一区二区色综合| 麻豆国产精品官网| 欧美成人a视频| 麻豆精品国产91久久久久久| 91精品在线观看入口| 亚洲bt欧美bt精品777| 欧美日韩国产a| 日韩电影在线免费看| 欧美精品18+| 免费观看91视频大全| 日韩一区二区免费在线观看| 麻豆国产一区二区| 久久看人人爽人人| 成人午夜免费电影| 亚洲人一二三区| 欧美日韩一区国产| 日韩电影在线一区二区| 精品国精品自拍自在线| 国产在线视频一区二区三区| 中文字幕欧美区| 色系网站成人免费| 午夜欧美大尺度福利影院在线看| 欧美美女直播网站| 九九**精品视频免费播放| 久久精品日韩一区二区三区| 国产一区视频在线看| 国产精品亲子伦对白| 色婷婷久久99综合精品jk白丝| 亚洲制服丝袜av| 欧美变态tickle挠乳网站| 国产在线一区二区| 亚洲色图欧洲色图婷婷| 欧美日韩国产首页在线观看| 紧缚奴在线一区二区三区| 国产欧美在线观看一区| 91热门视频在线观看| 三级欧美韩日大片在线看| 久久精品日产第一区二区三区高清版 | 国产精品理伦片| 欧美日本一道本| 国产福利不卡视频| 亚洲国产视频一区二区| 2020日本不卡一区二区视频| 一本大道久久精品懂色aⅴ|