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
易探云怎么样?易探云是国内一家云计算服务商家,致力香港服务器、国内外服务器租用及托管等互联网业务,目前主要地区为运作香港BGP、香港CN2、广东、北京、深圳等地区。易探云服务器均选择当下热门线路,比如CN2 GIA、BGP线路、CN2线路等,所有云主机支持月付,并且首月优惠,年付优惠,优惠后香港沙田云服务器/独立ip/香港CN2线路,每月仅18元,188元/年。点击进入:易探云官方网站地址1、香港...
官方网站:点击访问月神科技官网优惠码:美国优惠方案:CPU:E5-2696V2,机房:国人热衷的优质 CeraNetworks机房,优惠码:3wuZD43F 【过期时间:5.31,季付年付均可用】活动方案:1、美国机房:洛杉矶CN2-GIA,100%高性能核心:2核CPU内存:2GB硬盘:50GB流量:Unmilited端口:10Mbps架构:KVM折后价:15元/月、150元/年传送:购买链接洛...
国外主机测评昨天接到Hostigger(现Hostiger)商家邮件推送,称其又推出了一款特价大内存VPS,机房位于土耳其的亚欧交界城市伊斯坦布尔,核50G SSD硬盘200Mbps带宽不限月流量只要$59/年。 最近一次分享的促销信息还是5月底,当时商家推出的是同机房同配置的大内存VPS,价格是$59.99/年,不过内存只有10G,虽然同样是大内存,但想必这次商家给出16G,价格却是$59/年,...
delphi教程为你推荐
乐划锁屏乐视手机屏幕锁怎么自己就变了京沪高铁上市首秀在中国股市中:京沪高铁概念股有哪些h连锁酒店有哪些快捷酒店连锁酒店。www.20ren.com有什么好看的电影吗?来几个…杰景新特谁给我一个李尔王中的葛罗斯特这个人物的分析?急 ....先谢谢了xyq.163.cbg.com梦幻西游里,CBG是什么?在那里,能帮忙详细说一下吗百度关键词分析百度关键字分析是什么意思?porntimesexy time 本兮 MP3地址33tutu.com33gan.com改成什么了javlibrary.comSSPD-103的AV女主角是谁啊1!!!!求解
已备案未注册域名 liquidweb hawkhost优惠码 lamp配置 qq数据库下载 免费mysql 卡巴斯基官方免费版 共享主机 绍兴电信 网游服务器 怎么建立邮箱 中国电信测速器 免费个人主页 服务器托管价格 hdchina ipower windowsserver2012 德国代理ip paypal登陆 硬防 更多