1. <tfoot id='5dMbu'></tfoot>

      <small id='5dMbu'></small><noframes id='5dMbu'>

      • <bdo id='5dMbu'></bdo><ul id='5dMbu'></ul>
      <legend id='5dMbu'><style id='5dMbu'><dir id='5dMbu'><q id='5dMbu'></q></dir></style></legend>
    2. <i id='5dMbu'><tr id='5dMbu'><dt id='5dMbu'><q id='5dMbu'><span id='5dMbu'><b id='5dMbu'><form id='5dMbu'><ins id='5dMbu'></ins><ul id='5dMbu'></ul><sub id='5dMbu'></sub></form><legend id='5dMbu'></legend><bdo id='5dMbu'><pre id='5dMbu'><center id='5dMbu'></center></pre></bdo></b><th id='5dMbu'></th></span></q></dt></tr></i><div id='5dMbu'><tfoot id='5dMbu'></tfoot><dl id='5dMbu'><fieldset id='5dMbu'></fieldset></dl></div>

      为 JVM 编译 C++

      Compiling C++ for the JVM(为 JVM 编译 C++)

      <small id='QNhus'></small><noframes id='QNhus'>

      <tfoot id='QNhus'></tfoot>
        <tbody id='QNhus'></tbody>

      <legend id='QNhus'><style id='QNhus'><dir id='QNhus'><q id='QNhus'></q></dir></style></legend>
      <i id='QNhus'><tr id='QNhus'><dt id='QNhus'><q id='QNhus'><span id='QNhus'><b id='QNhus'><form id='QNhus'><ins id='QNhus'></ins><ul id='QNhus'></ul><sub id='QNhus'></sub></form><legend id='QNhus'></legend><bdo id='QNhus'><pre id='QNhus'><center id='QNhus'></center></pre></bdo></b><th id='QNhus'></th></span></q></dt></tr></i><div id='QNhus'><tfoot id='QNhus'></tfoot><dl id='QNhus'><fieldset id='QNhus'></fieldset></dl></div>
        <bdo id='QNhus'></bdo><ul id='QNhus'></ul>

              • 本文介绍了为 JVM 编译 C++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                在编译 C++ 时,您当然要为要编译的目标平台使用编译器.是否有针对 JVM 的 C++ 编译器(因此不是使用 Java本机"接口,而是将 C++ 代码编译为 Java 字节码)?

                When compiling C++ you of course use a compiler for the target platform you want to compile for. Is there a C++ compiler that targets the JVM (so instead of using the Java "native" interface C++ code is compiled to Java byte code)?

                推荐答案

                NestedVM 为 Java 字节码提供二进制翻译.这是通过将 GCC 编译为 MIPS 二进制文件来完成的,然后将其转换为 Java 类文件.因此,任何用 C、C++、Fortran 或 GCC 支持的任何其他语言编写的应用程序都可以在 100% 纯 Java 中运行,而无需更改源代码.

                NestedVM provides binary translation for Java Bytecode. This is done by having GCC compile to a MIPS binary which is then translated to a Java class file. Hence any application written in C, C++, Fortran, or any other language supported by GCC can be run in 100% pure Java with no source changes.

                这篇关于为 JVM 编译 C++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)

                  <tbody id='xRR29'></tbody>
              • <tfoot id='xRR29'></tfoot>
                  <legend id='xRR29'><style id='xRR29'><dir id='xRR29'><q id='xRR29'></q></dir></style></legend>
                  • <bdo id='xRR29'></bdo><ul id='xRR29'></ul>

                          <i id='xRR29'><tr id='xRR29'><dt id='xRR29'><q id='xRR29'><span id='xRR29'><b id='xRR29'><form id='xRR29'><ins id='xRR29'></ins><ul id='xRR29'></ul><sub id='xRR29'></sub></form><legend id='xRR29'></legend><bdo id='xRR29'><pre id='xRR29'><center id='xRR29'></center></pre></bdo></b><th id='xRR29'></th></span></q></dt></tr></i><div id='xRR29'><tfoot id='xRR29'></tfoot><dl id='xRR29'><fieldset id='xRR29'></fieldset></dl></div>
                        • <small id='xRR29'></small><noframes id='xRR29'>