在服务器上运行的 Pascal 编译器

发布于 2024-08-18 02:09:42 字数 44 浏览 14 评论 0原文

您有什么想法,如何在服务器上编译 pascal 文件(*.pas)?谢谢。

do you have any ideas, how to compile pascal file (*.pas) on the server? Thank you.

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

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

发布评论

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

评论(2

蓝海 2024-08-25 02:09:42

您没有命名服务器类型,但 Free pascal ( http://www.freepascal.org ) 附带现在几乎所有 Linux 发行版,以及 FreeBSD 端口和 Mac OS X(x86+ppc + 64 位,通过 fink 或独立的 .dmg 安装程序)。

http://www.freepascal.org 上有常规的一体化安装程序

对于 Windows 和 Dos , 你想要更多像 RAD 编辑一样的 Delphi,你可能想要 Lazarus ( http://Lazarus.freepascal.org ,也适用于上述平台(dos 除外)

Solaris x86+sparc 存在,但还处于实验阶段。

如果是 Windows 服务器,Delphi 也是可以的,但是现在很难获得免费版本(如果有的话)。

You don't name server type, but Free pascal ( http://www.freepascal.org ) comes with nearly every Linux distribution nowadays, as well in the FreeBSD ports and on Mac OS X (x86+ppc + 64-bit of both, via fink or standalone .dmg installer).

For windows and dos there are normal all-in-one installers at http://www.freepascal.org

If you want more Delphi like RAD editing, you probably want Lazarus ( http://Lazarus.freepascal.org , also available for the above platforms, except for dos)

Solaris x86+sparc exist, but are a bit experimental.

If it is a windows server, Delphi is also possible, but free versions are hard to get (if at all) nowadays.

可爱暴击 2024-08-25 02:09:42

如今,帕斯卡已经很不常见了。除非服务器有理由拥有它,否则它不会。这里的 apache 标签似乎表明您指的是网络服务器。 Web 服务器通常没有 Pascal 编译器。

GNU Pascal 编译器称为 gpc。它基于 GCC(流行的 C 编译器)构建,最高版本为 3.4。请参阅 http://www.gnu-pascal.de 。如果服务器出于兼容性考虑而安装了 GCC 的旧副本,也许您可​​以设法安装它。

Pascal is pretty uncommon these days. Unless there's a reason for the server to have it, it won't. The apache tag here seems to indicate you mean a webserver. Webservers generally don't have Pascal compilers.

The GNU Pascal Compiler is called gpc. It's built upon GCC, the popular C compiler, up to version 3.4. See http://www.gnu-pascal.de . Maybe you can manage to install it, if the server has an old copy of GCC up for compatibility's sake.

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