[fpc-devel] Defines layout for mips
Marc Weustink
marc.weustink at cuperus.nl
Mon Dec 7 16:08:26 CET 2009
Felipe Monteiro de Carvalho wrote:
> I see that mips is progressing =) I added a ppmipsel.lpi file which
> builds a cross-compiler here, but I haven't yet managed to build the
> compiler from the makefiles or the rtl.
>
> For the RTL I tryed:
>
> C:\Programas\fpctrunk\rtl\linux>make fpc_units CPU_TARGET=mipsel OS_TARGET=linux
> OPT='-s'
> make: *** No rule to make target `../mipsel/mips.inc', needed by `system.ppu'.
> Stop.
>
> I searched, but I didn't find what would need to be fixed to get a
> target for mips.inc ... any ideas?
mipsel is not ready yet, even if you copy mips.inc from ../mips and you
fix prt0.as and touch the right .as files and you have the
crossbinutils, then still not all abstract methods of the compiler are
implemented, resulting in:
Free Pascal Compiler version 2.5.1 [2009/12/06] for mipsel
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for MIPSEL
Compiling system.pp
Fatal: Compilation aborted
An unhandled exception occurred at $080AEE50 :
EAccessViolation : Access violation
$080AEE50
$080A2326
$080A1D1F
$080A23BE
$0817DC73
$0817FC5F
$08180D4C
$0816C6DF
$080680EC
$08048296
make[2]: *** [system.ppu] Error 217
So I guess we need to be patient.
Marc
More information about the fpc-devel
mailing list