简体   繁体   English

我可以将FreeBSD作为目标平台添加到Delphi XE2 IDE吗?

[英]Can I add FreeBSD as Target Platform to Delphi XE2 IDE?

My utility compiles fine with both FPC and Delphi. FPC和Delphi均可很好地编译我的实用程序。 Now I'd like to make an IDE to run FPC from the GUI for me as Target Platform. 现在,我想为我创建一个IDE,以从GUI运行FPC作为目标平台。 I've noticed what some project templates in RAD Studio's repository can into cross-platform build and some can not. 我注意到RAD Studio存储库中的某些项目模板可以跨平台构建,而有些则不能。 So presume it is not hardcoded within IDE but configurable instead. 因此,假设它不是在IDE中进行硬编码,而是可以配置。 Also, I'm aware what XE2 uses FPC for ARM cross-compilation. 另外,我知道XE2使用FPC进行ARM交叉编译的情况。 Therefore goes the question: can I configure that and how? 因此,问题来了:我可以配置它吗?如何配置?


UPD: As i figured out, presence of "Target Platform" node in the Project Manager directly reflects presence of more than 1 child nodes under in ProjectName.dproj . UPD:如我所知,项目管理器中“目标平台”节点的存在直接反映了ProjectName.dproj下超过1个子节点的存在。 Dunno if finding is useful or not. Dunno(如果发现对您有用)。

No. XE2 supports Win32/64 , OSX (using FireMonkey ), and iOS (as you said, using FPC ). 不。XE2支持Win32/64OSX (使用FireMonkey )和iOS (如您所说的,使用FPC )。 It doesn't support any other targets. 它不支持任何其他目标。 If you need to compile to another, you need to strictly use FPC and Lazarus ; 如果需要编译,则必须严格使用FPCLazarus there's no way to add other targets to the IDE. 无法将其他目标添加到IDE。

If you could add additional targets to the IDE, you'd think Embarcadero would have mentioned that as a pretty valuable piece of marketing information, and they didn't (not even in the new release of XE3). 如果您可以在IDE中添加其他目标,您可能会认为Embarcadero会提到这是非常有价值的营销信息,而实际上并没有(甚至在新版XE3中也没有)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM