gcc ON arm/android

前端 未结 2 1165
野的像风
野的像风 2020-12-30 05:41

I just got a EEE pad transformer. Like any hardware I own I\'d like to have a C compiler on it. I know I can cross compile, but I\'d like to do development ON the device i

相关标签:
2条回答
  • 2020-12-30 06:00

    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.

    NOTE: Since I wrote this reply, the author of Terminal-IDE has stopped supporting it. Please don't down-vote me because of that!

    0 讨论(0)
  • 2020-12-30 06:12

    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.
    0 讨论(0)
提交回复
热议问题