如何从命令行编译 bada gcc 工具链?
我想开发一个 helloworld 应用程序,但想使用命令行而不是 BADA IDE 来编译它。
I want to develop a helloworld application but want to compile it using Command line not by BADA IDE.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,用bada IDE编译它。请注意控制台窗口中的
g++
和ld
命令(忽略make clean
阶段)。然后从命令行运行相同的命令。您可能必须修改 PATH 和/或其他环境变量,以便工具链可以运行,并且工具链可以找到标头和库。所有这些都位于bada\(version)\Tools\Toolchains\ARM
下。First, compile it with bada IDE. Note the
g++
andld
commands in the console window (ignore themake clean
phase). Then run the same from the command line. You'll probably have to modify PATH and/or other environment variables so that the toolchain can run, and so that the toolchain can find headers and libraries. All those live underbada\(version)\Tools\Toolchains\ARM
.