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

DMIT:香港国际线路vps,1.5GB内存/20GB SSD空间/4TB流量/1Gbps/KVM,$9.81/月

DMIT怎么样?DMIT是一家美国主机商,主要提供KVM VPS、独立服务器等,主要提供香港CN2、洛杉矶CN2 GIA等KVM VPS,稳定性、网络都很不错。支持中文客服,可Paypal、支付宝付款。2020年推出的香港国际线路的KVM VPS,大带宽,适合中转落地使用。现在有永久9折优惠码:July-4-Lite-10OFF,季付及以上还有折扣,非 中国路由优化;AS4134,AS4837 均...

OneTechCloud(31元),美国CN2 GIA高防VPS月

OneTechCloud发布了本月促销信息,全场VPS主机月付9折,季付8折,优惠后香港VPS月付25.2元起,美国CN2 GIA线路高防VPS月付31.5元起。这是一家2019年成立的国人主机商,提供VPS主机和独立服务器租用,产品数据中心包括美国洛杉矶和中国香港,Cera的机器,VPS基于KVM架构,采用SSD硬盘,其中美国洛杉矶回程CN2 GIA,可选高防。下面列出部分套餐配置信息。美国CN...

Hostodo(年付$34.99), 8TB月流量 3个机房可选

Hostodo 算是比较小众的海外主机商,这次九月份开学季有提供促销活动。不过如果我们有熟悉的朋友应该知道,这个服务商家也是比较时间久的,而且商家推进活动比较稳,每个月都有部分活动。目前有提供机房可选斯波坎、拉斯维加斯和迈阿密。从机房的地理位置和实际的速度,中文业务速度应该不是优化直连的,但是有需要海外业务的话一般有人选择。以前一直也持有他们家的年付12美元的机器,后来用不到就取消未续约。第一、开...

delphi教程为你推荐
有机zz怎么看不了呢有机zz怎么进不去了杰景新特我准备在网上买杰普特711RBES长笛,10700元,这价格合理吗?还有,这是纯银的吗,是国内组装的吗?罗伦佐娜维洛娜毛周角化修复液治疗毛周角化有用吗?谁用过?能告诉我吗?丑福晋爱新觉罗.允禄真正的福晋是谁?他真的是一个残酷,噬血但很专情的一个人吗?www.544qq.COM跪求:天时达T092怎么下载QQlcoc.toptop weenie 是什么?www.ijinshan.com在电脑看港台电视台那个网站最好而又不用钱速度又快ww.66bobo.com这个WWW ̄7222hh ̄com是不是真的不太易开了,换了吗?haole012.com说在:012qq.com这个网站能免费挂QQ,是真的吗?www.jsjtxx.com怎样让电脑安全又高速
什么是虚拟主机 北京虚拟主机 免费ddos防火墙 卡巴斯基永久免费版 ca4249 有奖调查 jsp空间 稳定免费空间 drupal安装 yundun php服务器 浙江服务器 创速 hdsky .htaccess cdn加速 卡巴斯基免费下载 linux命令vi linuxvi命令 ddos攻击器下载 更多