On 25 Aug 2009, at 13:44, Nataraj S Narayan wrote:

Tried all the tricks.

chmod +x firework

sh firework
firework: firework: 1: Syntax error: word unexpect

That is normal, because as mentioned before firework is not a shell script. The above command tells sh to try to read the compiled program as a shell script. That can never work.

./firework
-sh: ./firework: not found
ed (expecting ")")

Which version of binutils are you using for cross-compiling and how were they compiled?

Can you also show the output of "readelf -h" for both an FPC-compiled binary and another one?


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to