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
Hostodo在九月份又发布了两款特别套餐,开设在美国拉斯维加斯、迈阿密和斯波坎机房,基于KVM架构,采用NVMe SSD高性能磁盘,最低1.5GB内存8TB月流量套餐年付34.99美元起。Hostodo是一家成立于2014年的国外VPS主机商,主打低价VPS套餐且年付为主,基于OpenVZ和KVM架构,美国三个地区机房,支持支付宝或者PayPal、加密货币等付款。下面列出这两款主机配置信息。CP...
gcorelabs怎么样?gcorelabs是创建于2011年的俄罗斯一家IDC服务商,Gcorelabs提供优质的托管服务和VPS主机服务,Gcorelabs有一支强大的技术队伍,对主机的性能和稳定性要求非常高。Gcorelabs在 2017年收购了SkyparkCDN并提供全球CDN服务,目标是进入全球前五的网络服务商。G-Core Labs总部位于卢森堡,在莫斯科,明斯克和彼尔姆设有办事处。...
弘速云怎么样?弘速云是创建于2021年的品牌,运营该品牌的公司HOSU LIMITED(中文名称弘速科技有限公司)公司成立于2021年国内公司注册于2019年。HOSU LIMITED主要从事出售香港vps、美国VPS、香港独立服务器、香港站群服务器等,目前在售VPS线路有CN2+BGP、CN2 GIA,该公司旗下产品均采用KVM虚拟化架构。可联系商家代安装iso系统。点击进入:弘速云官方网站地址...
delphi教程为你推荐
Baby被问婚变绯闻小s在黄晓明婚礼上问了什么问题硬盘工作原理硬盘跟光盘的工作原理?嘉兴商标注册怎么查商标注册日期李子柒年入1.6亿李子柒男朋友是谁,李子柒父母怎么去世的?百度关键词分析关键词怎么分析?网站检测请问,对网站进行监控检测的工具有哪些?336.com求一个游戏的网站 你懂得www.5ff.comhttp://www.940777.com/网站,是不是真的网投六合斗城网女追男有多易?喜欢你,可我不知道你喜不喜欢我!!平安夜希望有他陪我过lcoc.topeagle solder stop mask top是什么层
怎么注册域名 中国万网虚拟主机 怎么申请域名 踢楼 java主机 韩国电信 42u标准机柜尺寸 2017年黑色星期五 服务器架设 宁波服务器 seednet 工作站服务器 股票老左 阿里校园 爱奇艺vip免费试用7天 卡巴斯基免费试用 免费cdn 微软服务器操作系统 台湾google 云营销系统 更多