JCGO的使用(java->C)

 海豚的眼泪v 发布于 2022-10-29 19:34

请问有哪位大神用过这个http://www.ivmaisoft.com/jcgo/download.htm,实现java转换为c,我在下载完所有要求文件后,说明文档进行到:
“4. Try to convert "Hello world" sample to Windows binary (unoptimized):

  • create your "projects" folders (e.g., "C:MyJcgoProjects") and change

  1. current directory to it;

  • type:
    C:JCGOjcgo.exe -sourcepath $~examplessimple Hello @$~stdpaths.in

or, alternatively:
java -jar C:JCGOjcgo.jar -sourcepath $~examplessimple Hello @$~stdpaths.in

  • invoke the MinGW C compiler (GCC):

  1. -IC:JCGOinclude -IC:JCGOincludeboehmgc -IC:JCGOnative -DJCGO_FFDATA -o hello jcgo_OutMain.c C:JCGOlibsx86mingwlibgc.a

  • or invoke Visual Studio C/C++ compiler:

  1. -IC:JCGOinclude -IC:JCGOincludeboehmgc -IC:JCGOnative -DJCGO_INTNN -DJCGO_FFDATA -DJCGO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE jcgo_OutMain.c C:JCGOlibsx86msvcgc.lib /link /out:hello.exe

  • run "hello.exe" file.”
    不知道如何进行下去了!求解答

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有