build-nodejs-for-android
build-nodejs-for-android copied to clipboard
Build GCC and G++ for Android
Hi,
How i can build GCC and G++ to run on Android (host=arm).
Thanks.
After a lot of days trying i have created a project with the results. But it dont compile and i dont know what to do now :(
https://github.com/prsolucoes/gcc-for-arm
@prsolucoes 👍 Although this is not relevant with building Node.JS, it is an interesting question. I will think about it in spare time.
Ok, can you contact me when you will check? Skype, email and hangout is: paulo [at] prsolucoes.com
I am afraid i have no time now, do not know when start to do this research. It seems nobody do this because it's seems not necessary. Why do you want to use gcc in android?
If you really want to do that soon, you have an alternative way: root the android then install "debian Kit", then you can get a complete gcc environment. I'v ever build node.js from the debian kit then run node.js in other devices, no problem except that: it does not recognize 'localhost', i have to specify 127.0.0.1. I have not tried use other external dns full name. I know the reason is the debian kit does not use android C runtime, it use standard gcc runtime, so it will try to open /etc/hosts /etc/resolv.conf or something like.
Good luck.