انجمن گروه موج سازان

نسخه‌ی کامل: دانلود c4droid: کامپایلر c/c++ برای سیستم عامل اندروید + GCC plug-in
شما در حال مشاهده نسخه آرشیو هستید. برای مشاهده نسخه کامل کلیک کنید.

با این برنامه می تونید کد های نوشته شده به زبان های c/c++ رو با گوشی کامپایل و اجرا کنید.
نیازمندی ها:
اندروید 1.6+
نصب busybox
توضیحات اندروید مارکت:
نقل قول :C4droid is a C compiler for Android.

Root is not required, but if you have rooted your device or have enough internal memory, you can get C++ support, read further. (some comments about "iostream not found" are fake, their authors just didn't follow installation instructions).

Result of compilation (binary) is placed in "/data/data/com.n0n3m4.droidc/files/temp", because sdcard doesn't have permission for execution by default.

C4droid already has almost full C language support, so you don't need to wait when it will be added.
You can to write your own applications on the Android phone, and run them. This app uses TCC and uClibc, so it has full support of ANSI C and some support of ISO C99. C4droid can be used for educational purposes or to practice in C language.
Some components of C4droid are LGPL-licensed. You can download used source code of TCC and uClibc on their websites. C4droid includes Android Terminal Emulator so you can to run your application comfortably.

If you have rooted your device (or have enough internal memory), you can to download GCC plugin for C4droid (search in Android Market). After installing it, you can select GCC or G++ compiler in preferences.
(It's not stable yet, so some devices may be unsupported)

Tested devices:
Android Emulator 1.6, QVGA
Android Emulator 2.2, WVGA
Acer Liquid 2.2, WVGA
Herotab C8, WVGA

If you are getting "Fatal: IO error", install busybox.

WARNING! All Telechips and MediaTek based devices are unsupported (Android phones/tablets from china), because of the incompatiblity with EABI. Devices without VFP (VIA) are partially unsupported too (floating point operations).
C4droid will check license via the Internet.
First launch may be (very) long due to library unpacking (WAIT PATIENTLY!, unpacking may take up to 10 minutes).

Report bugs at n0n3m4@gmail.com.
اسکرین شات از محیط برنامه:
[عکس: 3jo8svjrwjo55dq3cb2.jpg][عکس: a5itnei62k8tg8jiepo.jpg]

لینک دانلود پلاگین GCC برای C4droid:
gcc_for_c4droid.apk - 18.4 MB

توضیحات اندروید مارکت:
نقل قول :WARNING! It's not a standalone application.

If plugin doesn't work, try to install it to internal memory.

It's a plugin for c4droid, that allows it to compile C and C++ source code using GCC.
It contains gcc 4.6.1 with Bionic (Android libc). Source code hadn't been modified, so you can
compile it yourself, if you want.
To use GCC with c4droid, you need root and 50MB of free space on sdcard OR 50MB of free space on internal memory (root is not required).
To install plugin, just install this application (after installing c4droid), press Install (to internal memory if you don't have root or to external if you don't have enough space on internal memory and have root), wait for unpacking and delete this application.

Recent changes:
WARNING! Uninstall this app before update! Else app will crash. It's well known Android bug (details: http://code.google.com/p/android/issues/...?id=1227).
Added support for phones without root, but with enough (>50M) internal memory (press "Install to internal memory"), if you have root and haven't enough internal memory, press "Install to external memory", but installation to internal memory is more stable.
[عکس: 20110719190427442.jpg] [عکس: 20110719190427443.jpg]

منبع