gcc ON arm/android

跟風遠走 提交于 2019-11-30 06:46:38

The process of building gcc (et al.) to run on your target should be similar to building a cross-compiler, excepting that you will:

  • need to have an ARM cross compiler that runs on your, for example, x86 machine. So the results of your googleing are still useful.
  • use the --host option to specify your ARM platform when running configure for all of the parts of your toolchain.

I stumbled onto this guy who compiled gcc binaries to run on android/ARM ( and R runtime ), I'm getting a look at it.

http://rwiki.sciviews.org/doku.php?id=getting-started:installation:android

edit @2014/02/14

Because this answer still get upvoted, I would recommend people to get a look at

As they provide package style installation for most of the utility botbrew comes with git and a suitable version of ar, but require root access.

kbox2 does not require root and is working in a chroot style environment

Since you asked about this in June, 2011, (or maybe starting right around that same time) there's something that does EXACTLY what you want called "Terminal-IDE." This is a much better answer than the one you checked off as correct because it doesn't rely upon cross-compilation as the checked answer does.

Terminal-IDE is an Integrated Development Environment that runs ON your Android device (just as you asked about), and has both a C compiler and Java (of course).

There's a Terminal-IDE web site with a more in-depth description and links to other resources.

My current favorate self hosted development toolchain environment is currently GNURoot. You can put a Debian userland on your phone and enjoy the pleasures of emacs and/or vi while others think you're madly texting to your BFF or playing Pokemon Go.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!