bashrcdelphi教程
delphi教程 时间:2021-04-04 阅读:(
)
CompilationInstructionforDelPhionLinux/MacOSX(10.
6orup)/WindowsIfthereisanyquestion,pleasegoto:http://compbio.
clemson.
edu/forum/ore-mailtodelphi@g.
clemson.
eduDelPhiDevelopmentTeam,ClemsonUniversityJune2018Beforecompilation:Besidesthesourcecode,weprovideexecutablefilesforLinux,WindowsandMacVersionsofDelPhi.
ThesourcecodeandexecutablefilescanbedownloadedfromtheDelPhiwebsite:http://compbio.
clemson.
edu/delphiMostoftheuserscanusetheexecutablefileswithoutcompilation.
Iftheexecutablefescannotbeexecutedonsomeusers'systems,orsomeadvancedDelPhiusersneedtomodifythesourcecode,pleaseseetheDelPhicompilationsectionbelow:DelPhicompilation:DelPhiC++version:LinuxVersion:1.
Updatinggcc(optional):OnLinuxsystems,pleasechecktheGCCversion.
Userscanusecommand:gcc–vtochecktheversion.
Ifthegccversionislowerthan4.
4,pleaseupdateit.
2.
InstallingboostC++library:BoostC++librarycanbeinstalledindiferentwaysondiferentLinuxdistributions.
Hereweprovideoneofthemostgeneralways:Downloadlibraryfrom:http://www.
boost.
org/users/history/version_1_55_0.
htmlUnpacktheboost_1_55_0.
tar.
gzandyouwillseefolderssuchasboost,doc,libs,more,status.
.
.
etcundertheunpackedboost_$verfolder(e.
g.
,boost_1_55_0/)[where,$verstandsfortheversionnumber]Then,checkyourlocalLinuxdistributionAndcopythe"boost"foldertobefoundundertheunpackedboost_$verfolderinto/usr/includeor/lib/includeor/usr/local/include1(whateverisappropriateforyourparticularlinuxdistribution).
1Thisstepwillrequire'root'privilege,Inmostgenericlinux,therelevantdirectoryshouldbe:/usr/includeTheboostlibraryalsoneedstobeinyourexecutablepath(checkthisinthe~/.
bashrcor~/.
cshrcorsimilarprofiles)3.
Compilation:WhenC++compilerandboostlibrariesareready,youcancompilethedistributionofDelPhiwithorwithoutopenMP.
Ifyoudon'tneedopenMPparallelizedDelPhi,goto"Release"folder,thetypethecommands:makecleanmakeTheexecutablefileforDelPhiwillbecreated.
ForcompilingopenMPparallelizedDelPhi,frstturnontheopenMPfagonbyeditingthefile".
/src/interface/environment.
h".
Thereisaline//#defnePARALLEL_OMPUn-commentthelinebydeletingthe"//"atthebeginningandsavethefile.
Gotothefolder"Release_omp",thentype:makecleanmakeTheexecutablefeforopenMPparallelizedDelPhiwillbegenerated.
Youmaythenwishtorenameandcopytheexecutable(s)toyour~/bin/andaccessthemgloballyfromyouruseraccount.
WindowsVersion:1.
Installationofgcc:ThereareseveraltoolstoinstallgcccompileronWindows.
HerewetakeMinGWasanexampletoinstallgcccompilerandcompileDelPhionWindows.
GotoMinGW'swebsite(https://sourceforge.
net/projects/mingw-w64/)todownloadtheMinGWandinstallitonyourcomputer.
Thedefaultinstallationdirectoryis"C:\MinGW\".
2.
Adding"C:\MinGW\bin"tothePATHenvironmentvariable.
ControlPanel→search"environmentvariables"→clickEditthesystemenvironmentvariable→click"Advanced"→click"EnvironmentVariables"→select"Path"→click"Edit""C:\MinGW\bin"tothePATHenvironmentvariable,use";"to"separateC:\MinGW\bin"andotherexistingpaths.
3.
DownloadboostC++library:DelPhicompilationneedsboostC++library,whichcanbedownloadedfrom:https://www.
boost.
org/users/history/version_1_55_0.
htmlAfterdownload,unziptheboost_1_55_0.
zipandyouwillseefolderssuchasboost,doc,libs,more,status.
.
.
Copythe"boost"foldertoC:\MinGW\include4.
Compilation:Openacommandwindow(cmd),Gotothe"delphicpp/Release"folderthentypecommand:mingw32-make.
exeTheexecutablefilewillbecreatedafterafewminutes.
MacVersion:TocompileDelPhiC++,youwillneed:1.
XcodeCommandLineTools2.
Homebrew(Optional)3.
GNUC++Compiler(4.
4orup)withOpenMPsupported.
4.
BoostC++Libraries(1.
47orup).
WithXCode4or5youwillneedtodownloadthecommand-linetoolsasanadditionalstep.
Youwillfndtheoptiontodownloadthecommand-linetoolsinXCode'sPreferences.
On10.
9Maverickyoucangetthecommand-linetoolsbysimplytypingxcode-select–installIfyouwanttousehomebrewtoinstallgccandboostlibrary,makesureyouhavehomeinstalled.
Ifnot,pleaserefertoitswebsiteforinstallation:http://brew.
shToinstallGNUC++compileronOSX,useMachomebrewtoinstallasshownbelow:brewinstallgccOralternatively,pleaserefertotheHPCMacOSXwebsite:http://hpc.
sourceforge.
netanddownloadthepreferredversiontoinstall.
TheGNUC++compilerwillbeinstalledin/usr/local/binfolderandyoumayneedtorenamethesymbolicg++-4.
9tog++(thisstepisforhomebrewinstalledgcc).
AndexportthePATHinyour~/.
bash_profileexportPATH=/usr/local/bin:$PATHToinstallBoostC++LibrariesonOSX,useMachomebrewasshownbelow:brewinstallboostOr,alternatively,pleaserefertothedetailedinstallationinstructionprovidedontheofficialboostC++librarieswebsite:http://www.
boost.
org/doc/libs/1_47_0/doc/html/quickbook/install.
htmlTheBoostC++librarieswillbeinstalledin/usr/local/includefolder.
WhenC++compilerandboostlibrariesareready,youcancompilethedistributionofDelPhiwithorwithoutopenMP.
Ifyoudon'tneedopenMPparallelizedDelPhi,goto"Release"folder,thentype:makecleanmakeThenpressenterkey.
TheexecutablefileofDelPhiwillbegenerated.
ForcompilingopenMPparallelizedDelPhi,frstturnontheopenMPfagonbyeditingthefile".
/src/interface/environment.
h".
Thereisaline//#defnePARALLEL_OMPUn-commentthelinebydeletingthe"//"atthebeginningandsavethefile.
Gotothefolder"Release_omp",thentype:makecleanmakeTheexecutablefileforopenMPparallelizedDelPhiwillbegenerated.
DelPhiFortranversion:LinuxVersion:1.
Updatinggcc(optional):OnLinuxsystems,pleasechecktheGCCversion.
Userscanusecommand:gcc–vtochecktheversion.
Ifthegccversionislowerthan4.
4.
0,pleaseupdateit.
2.
Compilation:Gotothedirectorywhichcontains"src"folderandthe"makefile"feandthentypethecommand:makecleanmakeTheexecutablefilewillbegeneratedafterafewminutes.
Youmaythenwishtorenameandcopytheexecutable(s)toyour~/bin/andaccessthemgloballyfromyouruseraccount.
WindowsVersion:1.
Installationofgcc:ThereareseveraltoolstoinstallgcccompileronWindows.
HerewetakeMinGWasanexamptoinstallgcccompilerandcompileDelPhionWindows.
GotoMinGW'swebsite(https://sourceforge.
net/projects/mingw-w64/)todownloadtheMinGWandinstallitonyourcomputer.
Thedefaultinstallationdirectoryis"C:\MinGW\".
Add"C:\MinGW\bin"to2.
2.
Compilation:Openacommandwindow,gotothedirectorywhichcontains"src"folderandthe"makefile"fe,thentypethecommand:mingw32-make.
exeTheexecutablefilewillbegeneratedafterafewminutes.
MacVersion:Makesurethatthegccandgfortrancompilersareinstalledonyoursystem.
1.
Updatinggccandgfortran(optional):Thecompilationhasbeentestedonosx10.
6and10.
7,withgcc/gfortran4.
6orhigherversionMakesuredownloadingthecorrectgccversion,userscandownloadthegcc/gfortranfromthlink:http://hpc.
sourceforge.
net/2.
CompilationGotothedirectorywhichcontains"src"folderandthe"makefe"file,thentypethecommand:makeTheexecutablefilewillbegeneratedafterafewminutes.
NotesontheNewDelphiRelease(delphicpp_mpi_v5)CurrentDelPhiC++(Version8.
0)allowsuserstocompiletheDelPhiprogramintodifferentversionsbyturningonandoffappropriateflagsfromasingledistribution.
AfterdownloadingtheDelPhisourcecodefromDelPhiwebsite,thefollowingcompilers/librariesmustbepre-installedbeforetheDelPhiprogramiscompiled:1.
appropriateC++compilersuchasGCC5.
4.
0andabove;2.
boostlibraryinstalledin/usr/includeanditspathisrecognizedintheuserenvironment;3.
latestversionofOpenMPIorMPICHifMPIversionofDelPhiexecutableisdesired.
TocompiletheDelPhiC++into:a.
aregularexecutable(simplesinglethread/CPUversion):1.
gotothefolderReleaseandrunthecommands:makecleanmake2.
anexecutablenameddelphicpp_releasewillbegeneratedwhenthecompilationprocessisfinished.
b.
amulti-threadingOpenMPexecutable(abletoutilizethemaximumcomputingpowerofamulti-coreCPUtoacceleratethecalculations):1.
gotothesourcecodefoldersrcanduncommenttheline"//#definePARALLEL_OMP"inthefileof.
/src/interface/environment.
h;2.
gotothecompilationfolderRelease_ompandrunthecommands:makecleanmake3.
anexecutablenameddelphicpp_omp_releasewillbegeneratedwhenthecompilationprocessisfinished.
c.
amulti-CPUMPIexecutable(abletoutilizethecomputingpowerofCPUsacrossmultiplecomputingnodesononeHPCcluster):1.
gotothesourcecodefolder/srcanduncommenttheline"//#definePARALLEL_MPI"inthefileof.
/src/interface/environment.
h;2.
GotothefolderRelease_mpiandrunthecommands:makecleanmake
运作了18年的德国老牌机房contabo在继去年4月开办了第一个美国数据中心(中部城市:圣路易斯)后立马在本月全新上马两个数据中心:纽约、西雅图。当前,为庆祝美国独立日,美国三个数据中心的VPS全部免除设置费,VPS本身的配置很高,价格适中,有较高的性价比!官方网站:https://contabo.com/en/SSD VPSKVM虚拟,纯SSD阵列,不限制流量,自带一个IPv4内存CPUSSD带...
wordpress高级跨屏企业主题,通用响应式跨平台站点开发,自适应PC端+各移动端屏幕设备,高级可视化自定义设置模块+高效的企业站搜索优化。wordpress绿色企业自适应主题采用标准的HTML5+CSS3语言开发,兼容当下的各种主流浏览器: IE 6+(以及类似360、遨游等基于IE内核的)、Firefox、Google Chrome、Safari、Opera等;同时支持移动终端的常用浏览器应...
wordpress投资主题模版是一套适合白银、黄金、贵金属投资网站主题模板,绿色大气金融投资类网站主题,专业高级自适应多设备企业CMS建站主题 完善的外贸企业建站功能模块 + 高效通用的后台自定义设置,简洁大气的网站风格设计 + 更利于SEO搜索优化和站点收录排名!点击进入:wordpress投资主题模版安装环境:运行环境:PHP 7.0+, MYSQL 5.6 ( 最低主机需求 )最新兼容:完美...
delphi教程为你推荐
云计算什么是云计算?原代码求数字代码大全?百度关键词工具如何利用百度关键词推荐工具选取关键词同一服务器网站一个服务器能运行多少个网站mole.61.com摩尔大陆?????www.gegeshe.comSHE个人资料5xoy.com求个如月群真汉化版下载地址www.vtigu.com破译密码L dp d vwxghqw.你能看出这些字母代表什么意思吗?如果给你一把破以它的钥匙X-3,联想ip查询器怎么样查看自己电脑上的IP地址www.03ggg.comwww.tvb33.com这里好像有中国性戏观看吧??
vps试用 紧急升级请记住新域名 安徽双线服务器租用 java主机 名片模板psd http500内部服务器错误 parseerror 线路工具 网通ip hkg 卡巴斯基免费试用 香港新世界中心 新世界服务器 东莞idc 外贸空间 重庆电信服务器托管 防cc攻击 nnt 美国主机侦探 时间服务器 更多