Is there a way to run python scripts on android? - General Questions and Answers

I want to run the python scripts from kali linux distribution on my android. Is it possible? Will it work?

Related

Anyone one familiar with Codesourcerys G++

Can you compile thru cygwin or not I'm getting some errors on a kernel compile? I'm switching to a vmware fedora install to have a linux based IDE. Any suggestions on what you used and di would be most helpful.

[Q] Running Ubuntu for Arm, how to cross compile command line programs for Android?

Using Linuxdeploy I installed ubuntu (for arm with hardware floats) on my tablet.
It runs beautifully, and I can install packages with apt-get, or (and I just did it to upgrade bison) compile from source using gcc 4.6 and all the other tools.
BUT, nothing I compile from within linux will run outside of the linux jail. I can copy the files out, but they won't run even if the permissions are set to execute.
"gcc -abi=armeabi" doesn't make any difference.
I guess I can install the same tools that people use to compile for android on x86 machines, but it seems like overkill and maybe breaks the advantage of being able to use standard linux build tools. Is there a different set of libraries to link to? A different linker? Different linker settings? Different gcc options?
Josh

[Q] Making ARM Linux Distro

Not sure where I should really be posting this question. Are there any guides for making ARM Linux Distros that boot into VNC Like the complete Linux installer Distros? Would like to compile my own flavor.

Extract Linux from Andriod Kernel

We want to run Linux on our device that is now running android. Is there a method for unduing the patches applied to LInux to make it Android and just compile the kernel?
Thanks,
Y-

Is there an assembler and linker included in Android?

From an ADB shell, I tried running:
Code:
as helloworld.s -o helloworld.o
but it seems that the GNU assembler is not included in Android.
I also tried it from a root shell on the device.
I was just wondering if anyone knows whether there is an assembler and linker included on Android? If not, is it possible to install one?
Thanks.
Wondering why Android OS should have included GNU assembler ( GAS ) ?
BTW: GNU assembler for ARM exists
In order to compile your assembly program, you will need the Android NDK, the Native Development Kit, which contains a set of compilers and build tools for the ARM platform. You can get download it directly from the official site, or install it through Android Studio.
But please note that this is for Windows, Mac or Linux instead of Android OS.
James_Watson said:
In order to compile your assembly program, you will need the Android NDK, the Native Development Kit, which contains a set of compilers and build tools for the ARM platform. You can get download it directly from the official site, or install it through Android Studio.
But please note that this is for Windows, Mac or Linux instead of Android OS.
Click to expand...
Click to collapse
I was hoping to find one that will run on Android itself.
OK so as far as I can tell, there is no assembler or linker included on Android, since apps are created from x86_64 machines and then installed on the device. So I went with installing binutils via Termux.
- Installed f-droid
- Installed Termux via f-droid (The version in the play store has an out of date sources.list and the app hasn't been updated since September. Evidently the Termux dev group is releasing via f-droid now, not via the Play store.)
- From Termux, ran the following:
$ pkg update
$ pkg install binutils
This allowed me to use the GNU assmbler (as) and linker (ld).
Just leaving this note here in case anyone else wants to do the same thing and finds this thread.

Categories

Resources