[fpc-pascal] fpc on Armel issues
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Aug 25 14:10:31 CEST 2009
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
More information about the fpc-pascal
mailing list