[fpc-devel] FPC for MIPS
hi ho, i'm back again ;) i have try this: http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg27336.html but my Ubuntu Desktop 12.04 LTS can't run the ppcmips binary? $ chmod +x ppcmips $ ./ppcmips -iV bash: ./ppcmips: Kann die Datei nicht ausführen. (Can't run this file) so, if there are any other solution to compile fpc code for MIPS/linux? greez thx, sky... ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] mips-linux and mipsel-linux snapshots available
oh, very nice! big thx! i would testing this, but please can you add a little (or more detail) description how to use this snapshot? i see some intrestet files but i cant to bring together... greez thx, sky... Am 05.11.2012 15:49, schrieb Pierre Muller: Due to numerous question about mips/mipsel linux, I decided to try to generate snapshot for those systems. It finally worked (with OPT=-O- option added) You can test them at: ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/mipsel-linux/ or ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/mips-linux/ Please give feedback, Pierre Muller ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] CrossCompiling :: Windows - Linux/MIPS
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
Re: [fpc-devel] CrossCompiling :: Windows - Linux/MIPS
ok ;) here are my current batch-build-script: === set PATH=C:\lazarus\fpc\2.6.0\bin\i386-win32;D:\Sourcery_CodeBench_Lite_for_MIPS_GNU_Linux_Toolchain\lib\gcc;D:\Sourcery_CodeBench_Lite_for_MIPS_GNU_Linux_Toolchain\bin set PREFIX=mips-linux-gnu- set INSTALLDIR=D:\fpc\install set FPCMAKE=D:\fpc\trunc\2.7.x\fpcbuild\fpcsrc\utils\fpcm\fpcmake.exe set CPU_TARGET=mips set OS_TARGET=linux set CROSSOPT=-Cfsoft cd D:\fpc\trunc\2.7.x\fpcbuild\fpcsrc make distclean cd D:\fpc\trunc\2.7.x\fpcbuild\fpcsrc\utils\fpcm make all cd D:\fpc\trunc\2.7.x\fpcbuild\fpcsrc make all OS_TARGET=%OS_TARGET% CPU_TARGET=%CPU_TARGET% BINUTILSPREFIX=%PREFIX% CROSSOPT=%CROSSOPT% make crossinstall OS_TARGET=%OS_TARGET% CPU_TARGET=%CPU_TARGET% BINUTILSPREFIX=%PREFIX% INSTALL_PREFIX=%INSTALLDIR% FPCMAKE=%FPCMAKE% CROSSOPT=%CROSSOPT% make all install INSTALL_PREFIX=%INSTALLDIR% BINUTILSPREFIX=%PREFIX% CROSSOPT=%CROSSOPT% pause === and no, i have the same error as befor... greez thx, sky... Am 31.10.2012 19:10, schrieb Sven Barth: 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? greez thx, sky... http://www.dict.cc/englisch-deutsch/prehistory.html ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel