GithubHelp home page GithubHelp logo

kiritow / c4droid-shell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fann95/c4droid-shell

0.0 2.0 0.0 57.99 MB

Command line shell,tools and libraries for C4droid.

Perl 61.52% CMake 5.73% Makefile 9.68% C 23.08%

c4droid-shell's Introduction

Shell and tools for C4droid

C4droid is a IDE + C/C++ compiler for Android.

Now available (only for devices with ARM cpu and Android < 5):

* c4dsh
* perl-5.20.1
* autoconf-2.69
* automake-1.15
* libtool-2.4
* curl-7.37.1
* git-2.2.0
* cmake-3.0.1
* gdb-7.7.1
* flex-2.5.39
* texinfo-5.2
* bison-3.0.2
* help2man-1.43.3
* openssl-1.0.1c
* openssh-6.7p1
* sqlite3-3.8.5
* libssh2-1.4.3
* gdbm-1.11
* libiconv-1.14
* libreadline-6.3
* libexpat-2.1.0
* libssh-0.7.0
* libxml2-2.7.8
* libpcap-2.4
* libpcre-8.33
* libzlib-1.2.3

~40 Mb in internal memory and ~55 Mb on sdcard for all tools

Requires:

  1. C4droid not a free app.,but well that not expensive
  2. GCC plugin installed in the internal memory
  3. Busybox

Installation

  1. Open Makefile in C4droid and compile.
  2. Add (c4droid:DATADIR)c4dsh in Menu->Preferences->Shell path
  3. Remove all in Menu->Preferences->Autorun command and add clear
  4. Check Menu->Enable Run Terminal button

Now you can run the terminal from C4droid menu and use it to compile native Linux software for Android.

Examples

All environment variables are already set.

example with configure:

curl ftp://ftp.gnu.org/gnu/sed/sed-4.2.tar.gz > sed-4.2.tar.gz
tar -xvzf sed-4.2.tar.gz
cd sed-4.2
./configure
make
make install DESTDIR=~/OUT

example with curl:

`curl-config --cc --cflags` ${CFLAGS} -o example example.c `curl-config --libs` ${LDFLAGS}

simple example:

$CC $CFLAGS -o example example.c ${LDFLAGS}

example with additional libraries

$CC $CFLAGS -I/path_to_additional_headers -o example example.c ${LDFLAGS} -L/path_to_additional_libraries -ladditional_lib_1 -ladditional_lib_2 ...etc.

P.S. All the libraries and utilities in this project were compiled by me from official sources.

c4droid-shell's People

Contributors

fann95 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.