官术网_书友最值得收藏!

  • Expert Delphi
  • Pawe? G?owacki
  • 298字
  • 2021-07-02 20:44:19

Delphi compilers and toolchains

Delphi IDE contains different compilers for generating apps for different platforms. The IDE manages all necessary source code files needed for building an app. It also takes care of passing correct parameters to right compilers and manages their output. In the IDE, it is possible to build, deploy, and run an app directly on the mobile device connected with a USB cable by just pressing the Run button. Obviously, it is also possible to generate an executable application without running it. Sometimes it is very handy to be able to step into an application as it is executed in the host operating system. This process is called debugging. In the Delphi IDE, you can run your program with or without debugging.

There are in total eight different Delphi compilers installed with the Delphi 10.2 version:

These compilers are typically installed into the C:\Program Files (x86)\Embarcadero\Studio\19.0\bin folder. The bin folder of Delphi has been added to the Windows path by the installer, so you can try and execute them directly.When  executed with no parameters, Delphi compilers will just display their version numbers and possible command-line switches, as shown in the following screenshot:

Delphi Android compiler invoked from Command Prompt

Take a look at the following screenshot:

Delphi iOS compiler invoked from Command Prompt

In the IDE, we do not need to invoke command-line compilers directly. The IDE is doing this for us when we choose to either run, build, or compile our project. It will also take care of outputting the resulting binary files into a separate folder per every supported platform and build configuration. When we build, deploy, and run our apps, we can see in the bottom part a log of all commands being executed, parameters passed to them, and their output.

主站蜘蛛池模板: 马龙县| 肃北| 天津市| 鄂托克旗| 内黄县| 祁门县| 万州区| 青海省| 隆化县| 正蓝旗| 敦化市| 盘山县| 江川县| 利辛县| 棋牌| 临潭县| 五莲县| 龙江县| 蒲城县| 上犹县| 合作市| 松溪县| 荥经县| 津南区| 武宣县| 陇川县| 海伦市| 新乡县| 泸州市| 东辽县| 阆中市| 新竹县| 凌海市| 青州市| 兰考县| 织金县| 鹤庆县| 库尔勒市| 循化| 永清县| 周宁县|