I have created a gentoo linux for the MIPS creator, compiled everyting natively.
I have created a Maté desktop for it which works nicely, it will be better when Imagination releases the drivers for the GPU, to come later ...
My gentoo linux resides on an SD Card 32GB from Sundisk. (48MB/s)
Here is the problem :
I have created a version of Free Pascal which works nicely but I cannot create a working lazarus.
suzie temp # fpc
Free Pascal Compiler version 3.0.0rc2 [2015/11/22] for mipsel
Copyright (c) 1993-2015 by Florian Klaempfl and others
Binutils is :
suzie temp # as --version
Assembleur GNU (Gentoo 2.25.1 p1.1) 2.25.1
Copyright (C) 2014 Free Software Foundation, Inc.
Ce logiciel est libre; vous pouvez le redistribuer selon les termes de la
version 3 de la licence GNU General Public License ou suivante.
Ce programme n'est couvert par AUCUNE garantie.
Cet assembleur a été configuré pour la cible « mipsel-unknown-linux-gnu ».
GCC :
suzie temp # gcc --version
gcc (Gentoo 5.2.0 p1.2, pie-0.6.4) 5.2.0
Copyright © 2015 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de copie. Il n'y a PAS
GARANTIE; ni implicite pour le MARCHANDAGE ou pour un BUT PARTICULIER.
I tested a few pascal programs, all compiled and worked perfectly except for lazarus, it seems that many apps created by lazarus project bomb out.
The version I compiled was 1.4.4. This MIPS processor is little Endian and has hardware floating point support.
Examples :
../tools/svn2revisioninc .. revision.inc
An unhandled exception occurred at $004F2B31:
EAccessViolation: Access violation
$004F2B31 RESOLVEDOTS, of lazfileutils.inc
suzie tools # ./lazres
Usage: lazres resourcefilename filename1[=resname1] [filename2[=resname2] ... filenameN=resname[N]]
lazres resourcefilename @filelist
An unhandled exception occurred at $005426B1:
EAccessViolation: Access violation
$005426B1 TFREENOTIFYINGOBJECT__DESTROY, of lazclasses.pas
$005426B1 TFREENOTIFYINGOBJECT__DESTROY, of lazclasses.pas
suzie lazarus # ./lazbuild
An unhandled exception occurred at $00A7A961:
EAccessViolation: Access violation
$00A7A961 TPROPERTIESTOSKIP__GETITEM, of lresources.pp
An unhandled exception occurred at $00ADD004:
EAccessViolation: Access violation
$00ADD004 DOFINALIZATION, line 545 of ./widgetset/wslclclasses.pp