Linux独立可执行文件生成 [英] Linux stand alone executable generation
问题描述
我是一位具有Java,Ruby,Python和其他高级/动态语言的丰富背景的程序员.我遇到一个问题,我需要编写Linux可执行文件(也适用于64位甚至32位OS),而这些语言似乎都不适合此任务,因为我最终还必须分发运行时.
I am a programmer with strong background in Java, Ruby, Python and other high level/dynamic languages. I am facing a problem where I need to code a Linux executable (for 64 and possibly 32-bit OSes too) and none of this languages appear to suit this task, because I end up having to distribute a runtime as well.
我真的不能编写像样的C代码,因此我想就一种好的高级语言寻求建议,该语言支持套接字通信和生成可能会产生C中间代码或独立Linux可执行文件的进程生成.
I really can't write decent C code, so I'd like to ask for advise on a good high level language that supports sockets communications and process spawning that would produce either C intermediate code or standalone Linux executables.
推荐答案
一些选择:
- 学习C或C ++.它能有多难?可能很有趣.
- 使用 gcj .这是gnu java编译器.
- 使用 RubyScript2Exe
- Learn C or C++. How hard could it be? It might be fun.
- Use gcj. This is the gnu java compiler.
- Use RubyScript2Exe
这篇关于Linux独立可执行文件生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!