Quote:
I just copied the gcc file inside the SDK dir
|
What
gcc file? This sounds like you are trying to use a compiler that is intended to run on a different kind of host. By the nature of his/her question, it sounds like
Oliv' may be thinking this as well. Also, when you did the copy, did the permissions on the file(s) change? Does
./gcc have executable permissions?
From the nature of your question (compile a simple script), it sounds like you don't fully understand the whole cross-development scheme. If I may read between the lines a little, it sounds like you have previously used a compiler for some other host. You are trying to run it on a different host, but not on one for which it was built. If this is the case, it may be time for you to start learning about embedded development and cross toolchains.
Perhaps provide a bunch more detail about the origins of all of the component parts.
--- rod.