Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any free C++ and/or C# compiler that runs on an Android-enabled Tablet PC? [closed]

Tags:

c++

c#

android

ide

The question is not about writing C++ for Android, it's about writing C++ on Android.

I have an Android-enabled Tablet PC and I need to do both C++ and C# programming.

Is there any free C++ and/or C# compiler that runs on any Android-enabled Tablet PC?

I do not want to develop Android apps on PC.

I want to do my programming on an IDE that runs on Android.

like image 697
user366312 Avatar asked Jan 12 '12 20:01

user366312


People also ask

Is C-Free to use?

If you are using a UNIX machine (for example, if you are writing CGI scripts in C on your host's UNIX computer, or if you are a student working on a lab's UNIX machine), the C compiler is available for free. It is called either "cc" or "gcc" and is available on the command line.

Is C or C+ Better?

Compared to C, C++ has significantly more libraries and functions to use. If you're working with complex software, C++ is a better fit because you have more libraries to rely on. Thinking practically, having knowledge of C++ is often a requirement for a variety of programming roles.

Is C-Free and open-source?

The C language is not a piece of software but a defined standard, so one wouldn't say that it's open-source, but rather that it's an open standard. There are a gazillion different compilers for C however, and many of those are indeed open-source.


2 Answers

It exists in some form, at least. I have managed to find an application that even compiles C and Delphi without any extra dependencies (I assume it comes with GCC and FreePascal.) I can't find it at the moment, but keep searching. In the meantime, TouchQode at least will give you some scripting support. For C#, you'll need Mono. The runtime for Mono is certainly available on Android and I see absolutely no reason there can't be a compiler for it on Android as well. edit: As CommonWares mentions, there is no freely available Mono port for Android, so none of this applies. Pity.

like image 67
John Chadwick Avatar answered Oct 16 '22 06:10

John Chadwick


Why not, it's a linux kernel and a well supported architecture (arm). You can compile GCC for android, but the performance of a tablet will not amaze you. You will also need to build glibc I guess - you can check here: http://forum.xda-developers.com/showthread.php?t=1299962

Basically you will need to cross compile gcc and glibc for the arm architecture.

like image 34
Alexander Vassilev Avatar answered Oct 16 '22 04:10

Alexander Vassilev