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

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

?? tour-unix.html

?? 數值算法庫for Unix
?? 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 thevariables 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> filesalready reflect the default values, and you do not have to even runthe 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 itto 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 completedescription.<p>Note that all of these configuration options can also be setby 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 nottoo 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 processto be script driven.This script does not perform any "magic", like finding out whatthe local C compiler is called, etc.  If the defaults are notcorrect 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 characteristicssuch as word size and machine precision.This is done by compiling and running a <tt>C</tt> programcalled <tt>MakeDesc</tt>that figures out these characteristics on itsown, and prints some diagnostics to the terminal.<p><li>A script is run that "automagically"determines the best way to write a timing functionon 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.c</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 flagsin 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 ineffect 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 fourcomponent 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 reallywent well.<p>Executing <tt>make install</tt>copies a number of files to a directory <tt>&lt;prefix&gt;</tt> that youspecify 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 whichyou 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> essentiallyundoes <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> programand 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 directoryin which you built NTL.If you <i>are</i> working in that directory, you can just execute<pre>   make foo</pre><p><p><p><b>Known build problems.</b><p>NTL should compile without errors.The only known problems on Unix systems are due to compiler bugs.In particular, some versions of <tt>g++</tt> on some platformsmay cause the compiler to crash.<p>I have had reports that version 2.96 of <tt>g++</tt> has thisproblem on some platforms, although I have not been able to re-createthe problem on any platform that I have access to (even with v2.96).<p>I also have reports that other versions of <tt>g++</tt> crashwhen compiling NTL on a DEC Alpha.<p>Hopefully, these and similar bugs in <tt>g++</tt> will eventuallybe fixed by the <tt>g++</tt> people.In the meantime, a very crude work-around is to compile the filesthat cause <tt>g++</tt> to crash without optimization.An easy way to do this is as follows:<ol><li>if the build crashes compiling, say, <tt>foo.c</tt>,copy <tt>makefile</tt> to, say, <tt>mf2</tt>;edit file <tt>mf2</tt>, deleting the <tt>-O2</tt> from the <tt>CFLAGS</tt>definition;<li>run the command <tt>make -f mf2 foo.o</tt>;<li>assuming that worked OK, run the command <tt>make ntl.a</tt>;<li>if it crashes again, say on file <tt>bar.c</tt>,run the command <tt>make -f mf2 bar.o</tt>;<li>run the command <tt>make ntl.a</tt>, repeating steps 4 and 5 as necessary.</ol><p>If you have build problems such as this,it would be quite useful to other NTL users if youcould experiment with the code a bit,and try to find an equivalent way to write the problem code so thatthe compiler does not crash.I will then try to get these work-arounds into future NTL releases.<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一区二区三区免费野_久草精品视频
国产在线日韩欧美| 亚洲午夜免费福利视频| 中文字幕亚洲欧美在线不卡| 婷婷一区二区三区| 国产成人综合自拍| 欧美一区三区二区| 亚洲欧美韩国综合色| 国产乱对白刺激视频不卡| 欧美日韩精品欧美日韩精品一| 精品国产乱码久久久久久浪潮| 亚洲九九爱视频| 丰满岳乱妇一区二区三区| 欧美精品欧美精品系列| 亚洲欧美另类久久久精品| 成人一区二区在线观看| 国产午夜精品在线观看| 久久精品国产一区二区三区免费看| 在线看不卡av| 欧美国产精品劲爆| 国产在线国偷精品免费看| 欧美一区二区三区色| 午夜精品一区二区三区免费视频| 97精品久久久午夜一区二区三区 | 91欧美激情一区二区三区成人| 精品久久久久久久久久久久久久久 | 精品国产3级a| 麻豆精品视频在线观看免费| 91麻豆精品国产91久久久| 亚洲综合久久av| 色噜噜久久综合| 一区二区三区在线影院| 在线免费观看日本一区| 一区二区三区产品免费精品久久75| 成人激情动漫在线观看| 国产精品天干天干在线综合| 国产精品18久久久久| 国产日韩欧美综合在线| 国产.欧美.日韩| 国产欧美日韩在线视频| 成人黄页毛片网站| 国产精品动漫网站| 欧美自拍偷拍午夜视频| 午夜在线成人av| 最新欧美精品一区二区三区| av电影一区二区| 亚洲综合精品久久| 欧美日本乱大交xxxxx| 蜜臀av性久久久久av蜜臀妖精| 日韩你懂的在线播放| 国产福利一区二区三区视频| 国产精品久久精品日日| 91麻豆福利精品推荐| 亚洲成av人**亚洲成av**| 精品区一区二区| av中文字幕在线不卡| 一区二区在线观看av| 欧美一级淫片007| 亚洲国产一区二区a毛片| 亚洲欧美国产毛片在线| 欧美三级视频在线播放| 日本中文一区二区三区| 国产丝袜欧美中文另类| 色综合咪咪久久| 亚洲h在线观看| 国产欧美日韩综合| 欧美视频中文字幕| 国产在线麻豆精品观看| 一区二区三区毛片| 精品国产91乱码一区二区三区| 91视频观看视频| 国内精品自线一区二区三区视频| 欧美韩国日本不卡| 欧美一区二区三区四区久久 | 久久久99久久| 9191成人精品久久| 91小视频在线免费看| 另类小说一区二区三区| 亚洲精品欧美在线| 久久久久久久久蜜桃| 色婷婷综合久久| 国产成人综合亚洲网站| 男人操女人的视频在线观看欧美| 国产精品视频第一区| 欧美一级日韩一级| 欧美在线观看视频一区二区| 国产成人a级片| 日日噜噜夜夜狠狠视频欧美人| 亚洲欧洲精品一区二区精品久久久 | 亚洲欧美视频一区| 国产欧美精品一区二区色综合朱莉| 欧美日本国产视频| 色天天综合色天天久久| 顶级嫩模精品视频在线看| 蜜臂av日日欢夜夜爽一区| 亚洲与欧洲av电影| 国产精品久久久久影院老司 | 91精品国产综合久久精品| youjizz久久| 成人丝袜视频网| 国产在线国偷精品免费看| 蜜臀av性久久久久蜜臀aⅴ| 日韩精品一卡二卡三卡四卡无卡| 亚洲欧洲综合另类| 中文字幕精品一区二区三区精品| 日韩三级精品电影久久久| 欧美情侣在线播放| 欧美三级一区二区| 日本精品一级二级| 成人深夜视频在线观看| 国产成人鲁色资源国产91色综| 久久99精品国产.久久久久久 | 《视频一区视频二区| 国产农村妇女毛片精品久久麻豆 | av动漫一区二区| 成人a免费在线看| 国产精品77777竹菊影视小说| 国产在线播放一区二区三区| 精品一区二区三区在线播放视频| 裸体歌舞表演一区二区| 美女看a上一区| 麻豆成人久久精品二区三区小说| 青草av.久久免费一区| 亚洲高清一区二区三区| 天堂一区二区在线| 免费久久精品视频| 男女男精品视频网| 国产在线乱码一区二区三区| 国产另类ts人妖一区二区| 国产一区二区三区黄视频| 久久超碰97中文字幕| 国产精品亚洲一区二区三区妖精| 成人精品高清在线| 99re热视频精品| 欧美色图第一页| 欧美一区二区视频免费观看| 制服丝袜亚洲网站| 久久精品亚洲国产奇米99| 欧美激情一区二区在线| 亚洲另类中文字| 久久99热99| 91麻豆国产福利在线观看| 欧美美女直播网站| 日韩久久精品一区| 国产精品亲子乱子伦xxxx裸| 亚洲主播在线观看| 91在线高清观看| 91麻豆精品在线观看| 欧美精品欧美精品系列| 欧美成人乱码一区二区三区| 欧美色图免费看| 久久亚洲欧美国产精品乐播| 国产精品萝li| 美女在线观看视频一区二区| 不卡高清视频专区| 欧美一区二区三区在线电影| 欧美少妇xxx| 中文字幕va一区二区三区| 视频在线在亚洲| 99精品国产99久久久久久白柏| 欧美剧情电影在线观看完整版免费励志电影 | av电影一区二区| 欧美日韩一区二区三区四区五区| 欧美一区二区成人| 亚洲国产aⅴ天堂久久| 国产精品一二三在| 日韩一区二区三区观看| 亚洲欧美日韩在线不卡| 久久精品国产精品亚洲综合| 国产传媒日韩欧美成人| 精品国产乱码久久久久久浪潮 | 久久久噜噜噜久久中文字幕色伊伊 | 日韩精品国产欧美| 成人丝袜视频网| www久久久久| 国产成人亚洲综合a∨猫咪| 欧美一区二区三区在线| 亚洲一二三四区| 99久久精品一区二区| 亚洲最色的网站| 99久久精品免费精品国产| 日韩福利电影在线| 国产欧美一区二区精品久导航| 婷婷成人激情在线网| 韩国精品主播一区二区在线观看 | 亚洲精品一区二区三区在线观看 | 国产一区二区h| 91精品久久久久久久91蜜桃| 日韩美女久久久| 成人免费高清在线观看| 久久久国产一区二区三区四区小说 | 欧美综合天天夜夜久久| 国产精品久久久久久久岛一牛影视| 激情六月婷婷久久| 欧美不卡123| 久久99精品久久久| 欧美成人aa大片| 久久激情五月激情| 精品国偷自产国产一区| 国产在线精品一区在线观看麻豆| 久久综合九色综合97_久久久|