Do you think it would be possible to compile NodeJS 4.2.6 with MIPS V8 for the GL-Inet MT300A and GL-Inet 6416?
This is a port of the V8 Engine for MIPS. It should be possible to use this to compile NodeJS 4.2.6 for GL-Inet routers.
The version of NodeJS currently in the repository for the GL-Inet MT300A is 0.12.7 which is super ancient and quite frankly irrelevant these days. It is very buggy and most software does not support it.
I’m having troubles figuring out how to cross compile software for my router, since most tutorials give the impression that I must compile the entire firmware with the software built in. I’d try this myself if you could possibly give me a small tutorial on how to cross compile software without building the entire firmware, specifically for the MT300A.
Make does not seem to exist for OpenWRT (at least on the firmware itself) so I cannot compile software on the router, which I think would be the most ideal way to do it. It’s quite a shame really.
To cross compile nodejs, you don’t need to compile openwrt, but you will then need to download openwrt toolchain. I think the easiest way is to modify the old Makefile, use the newest code and have a try. Seems compiling nodejs is a trouble but this is definitely our interests. We are busy with upgrading our firmware now. Once this is done, we will investigate nodejs asap.