[fpc-devel] about freepascal for mips

Fuxin Zhang zhangfx at lemote.com
Sat May 26 03:03:39 CEST 2012


>> Jonas
> I wonder how you people managed to build anything at all.
>
> When I tried to build from SVN trunk there would be an endless steam of
> internalerrors related to fpu registers, no matter if compiled with MIPS
> FPU or softfloat.
Which mips toolchain are you using? Here I don't meet any such problem.
Mine is from mips
website:http://developer.mips.com/tools/compilers/open-source-toolchain-linux/
foxsen at ubuntu-zfx:~/fpc/compiler$ mipsel-linux-gcc -v
Using built-in specs.
Target: mips-linux-gnu
Configured with: /tmp/xxx/dev/gcc44/gcc/configure --target=mips-linux-gnu
--prefix=/tmp/xxx/dev/gcc44/build-linux-20110223/tools
--with-sysroot=/tmp/xxx/dev/gcc44/build-linux-20110223/sysroot
--enable-__cxa_atexit --disable-libssp --disable-libgomp
--disable-libmudflap --enable-languages=c,c++ --with-mpfr=/tmp/xxx/newbin
--with-gmp=/tmp/xxx/newbin --with-llsc --disable-decimal-float
--disable-fixed-point --with-mips-plt --with-arch=mips32r2
Thread model: posix
gcc version 4.4.6 20110223 (prerelease) [gcc-4_4-branch revision 170444]
(GCC)

>
> I managed to remove the errors with the following patch, such that
> everything compiled, but I haven't been able to test it:
> http://j-software.dk/fpc-mipsel.patch
>
> Does anyone know if there's an easy way to set up an emulator for
> testing? Been fighting with qemu for the last half hour without results.
What issues you have met?
>
> Regards,
> Jeppe
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>





More information about the fpc-devel mailing list