Delphi 7:在Win XP 和Windows Server 2003 下编译有什么区别吗?

发布于 2024-07-19 02:02:08 字数 217 浏览 6 评论 0原文

我有一个遗留应用程序需要维护。 目前,版本是从一个特定的开发人员工作站构建的,这是一个非常非常糟糕的习惯。

我要求使用一台虚拟化构建服务器来从一个集中式环境中自动进行构建。 唯一的问题是他们给我的服务器运行的是windows server 2003,他们不会给我windows XP来做到这一点......

我应该在特定问题上小心吗?我应该注意什么?

谢谢

I have a legacy application to maintain. Currently, releases are built from one particular developper workstation, that is a bad, bad habit.

I asked for a virtualized build server to automate the build from one centralized environment. The only problem is that the server they gave me run with windows server 2003, and they will not give me a windows XP to do that...

Should I be careful on specific issues, what should I be aware of?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

念﹏祤嫣 2024-07-26 02:02:08

通常,使用 Delphi 构建应用程序的操作系统并不重要,因此应该不会有问题。 唯一的例外是任何导入的类型库,因为较新的操作系统可能附带更新的版本。 可以通过不直接使用导入的单元,而是通过将已知的良好版本复制到项目中、重命名并将其添加到版本控制中来解决此问题。

Normally the OS an application is built on with Delphi does not matter, so there should be no problems. The only exception would be with any imported type libraries, because a newer OS could come with a more recent version. This can be worked around by not using the imported unit directly, but by copying a known good version to your project, renaming it and adding it to version control.

柠栀 2024-07-26 02:02:08

编译器本身不会关心,无论如何都会生成相同的代码。

The compiler itself won't care, and will produce the same code regardless.

痴者 2024-07-26 02:02:08

根据您的 Delphi 版本,该许可证特别允许您在单独的构建 PC 上“安装”命令行编译器,以实现这些类型的构建。 操作系统是什么并不重要。

您实际上不需要使用 Delphi 安装程序来设置这样的构建 PC。 我的构建 PC 只是直接复制了以下文件夹(您可能需要/想要将 bin 路径添加到 PATH 环境变量中)。

程序文件\CodeGear\RAD Studio\5.0\bin
程序文件\CodeGear\RAD Studio\5.0\lib
Program Files\CodeGear\RAD Studio\5.0\source
程序文件\通用文件\RAD Studio\共享程序集\5.0

Depending on your version of Delphi, the license specifically allows you to "install" the command-line compiler on a separate build PC for the purposes of these types of builds. It shouldn't matter what the OS is.

You don't actually need to use the Delphi installer to set such a build PC up. My build PC simply has the following folders directly copied on to it (you may need/want to add the bin path to your PATH environment variable).

Program Files\CodeGear\RAD Studio\5.0\bin
Program Files\CodeGear\RAD Studio\5.0\lib
Program Files\CodeGear\RAD Studio\5.0\source
Program Files\Common Files\RAD Studio\Shared Assemblies\5.0

梦冥 2024-07-26 02:02:08

我使用 Win2003 构建机器和 Delphi 7 已经有一段时间了,但从未遇到过问题。 开发和调试也工作得很好。 我什至有时使用终端服务器访问控制台,也没有问题。

I was using a Win2003 build machine and Delphi 7 for quite a while whithout ever encountering problems. Also developing and debugging worked fine. I even used the terminal server to access the console sometimes, also no problem there.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文