[Lazarus] Cross-compiling -> MIPS
Lukasz Sokol
el.es.cr at gmail.com
Mon Oct 29 15:53:25 CET 2012
On 29/10/2012 12:44, SkyDiablo wrote:
> okay, again from scratch. I downloaded and installed the bintuils for windows:
[snip]
>
> # sh helloWorld4MIPS
> helloWorld4MIPS: line 1: syntax error: unexpected "("
>
> what can or should I do now that I can programs under lazarus for my router which is recorded with openWRT?
>
You produced an /executable/ ?
Then why not just do
./helloWorld4MIPS
in the dir where the binary is copied to ....?
(yes, dot-slash is needed unless you have this directory added to PATH)
AFAIK, doing
sh $file
will attempt to run it as shell script, WHICH IT ISN'T ?
> greez & thx,
> sky...
>
el es
More information about the Lazarus
mailing list