Hi guys, i have been working on porting the shc software to openwrt, i have successfully compile the shc-3.8.7 as a mipsel ipk. It runs fine in 8.09.2 only there is no cc compiler included so shc only preforms the first step (creates the .c source from the .sh script/s) but it does not compile the resulting source into tyhe executable, since ther is no compiler present if gives the "cc: not found" error.
I have used shc flawlessly on debian linux for a few years now and it works perfectly. Everything seems to be correct with the openwrt version aswell. only when i try to run the the executable i get the error msg "mysrcipt: applet not found" (**myscript is the executable created by shc from the mtscript.sh**) if i compile the same script for x86 it runs fine. I think the problem may have something to do with busybox. I have scoured the web for info, and anything reguarding embedded linuxs applet errors seem to point to busybox ??
If i was to compile gcc as an ipk and install in on the router, then compile the script natively (on the router), would this be any different then cross-compiling the .c produceced by shc ?
(** just to note i am using the SDK to cross-compile the .c source produced from the shc app on the router , i run shc on the router, and scp the resulting .c file to my SDK pakage dir. I have tried producing the .c on my linux box aswell and it make no difference, i still get the "applet not found" error.
I will give an example script and the resulting .c source produced by shc once i get it orginized in hopes that it will aid if solving this error
Any thought or suggestions welcome
Teara