老外做的Win/Linux都可以运行的二进制程序 +

10天前无聊去stackoverflow问了下有没有可能做一个Linux/Windows兼容的二进制程序,结果真有老外写出来了

Linux下:

$ wget http://est.im/downloads/com-elf.com
$ chmod 755 com-elf.com
$ ./com-elf.com
Hello World (Linux).

Windows下双击运行:

很强大。。

3 Responses to “老外做的Win/Linux都可以运行的二进制程序”

  1. 这个没什么

  2. 这个真没什么

  3. 应该是说dos下运行的吧,因为那是个运行16位的程序的终端(是command并非cmd),grub4dos的目录下修改mbr的程序“bootlace.com”就是linux/dos都能运行的。

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
MARKDOWN is also enabled.