[Lazarus] Cross-compiling -> MIPS
SkyDiablo
skydiablo at gmx.net
Mon Oct 29 17:03:42 CET 2012
Am 29.10.2012 15:53, schrieb Lukasz Sokol:
> 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 ?
yes, i have tested this befor but now i realize what going on.
# chmod +x helloWorld4MIPS
# ./helloWorld4MIPS
after this, NOTHING happens! no output and no shell-promt! now i have
look at "top" ->
process "helloWorld4MIPS" -> 100% CPU load!
this is the helloWorld Code:
================================
program helloWorld4MIPS;
begin
WriteLn('helloWorld');
end.
================================
if compiled for windows, all works fine...
maybe i should try with a debian/ubuntu as origin and not windows... if
someone have a idea for me, please post!
greez & thx,
sky...
More information about the Lazarus
mailing list