Am 01.11.2012 10:13, schrieb Mark Morgan Lloyd:
Sven Barth wrote:
You should also post how you compiled the compiler (e.g. your batch
file) so everyone knows what you did to reach your current state. ;)
Regards,
Sven
On 30.10.2012 21:54, SkyDiablo wrote:
so wow !
my question have a little prehistory, but direct to the problem. i have
compile a crosscompiler;
windows -> Linux/MIPS
all works fine with one exception. if i start my helloWorld binary
on my
destination target system, i get this message:
FPU emulator disabled, make sure your toolchain was compiled with
software floating point support (soft-float)
someone can think: "oh, the toolchain is wrong", but no, with the same
toolchain and with an c++ source, i can create a working binary with
this compiler switch: "-msoft-float".
so, how can i implement this "software floating point" behavoir in my
FPC binary?
But a couple of days ago I sent him a binary of a "do-nothing"
program, and via mail he tells me that
-----8<-----
# chmod +x donothing
# ./donothing
-bash: ./donothing: cannot execute binary file
# chmod +x test
# ./test
-bash: ./test: cannot execute binary file
i think i have a big endian system...
----->8-----
Would an empty program give this error if it were an FP issue (and for
test purposes, can it be compiled so as not to)? Since he's got a
working C compiler I pointed him at a program that somebody'd written
to check endianness, but have had no response. Also he's not run FPC
-i to check what the compiler thinks it is or run file on some of
the systems's own binaries.
i have answerd your email, your binaries are for MIPSel, my system is a
MIPS system, big endien. so thats invald binary.
greez & thx,
sky...
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel