[fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

Dennis Poon dennis at avidsoft.com.hk
Sat Jun 8 08:53:00 CEST 2013


On debian squeeze, I installed* fpc 2.6.0-9*
and I followed the instruction "svn checkout 
http://svn.freepascal.org/svn*/fpc/trunk* fpc"
which I believe is the latest version of fpc source code

then I followed the instruction to try to compile * ppmipsel.lpi* but 
since that seems like a Lazarus project file I had to first compile 
lazarus first
but when I downloaded lazarus-src_0.9.28.2-12_all.deb and 
lazarus-ide_0.9.28.2-12_i386.deb from  packages.debian.org/squeeze/devel/
and run Make  in the /usr/lib/lazarus/0.9.28.2 folder   I got the 
following error:

Compiling lclmemmanger.pas
lclmemmanger.ps(100,37) Error: Cannot access a private field of an 
object here

...
then Fatal: compilation aborted

I am new to Free Pascal.
Is there a way to compile the cross compiler *ppmipsel.lpi* without 
using Lazarus (since that seems to fail to compile possibly due to  
version conflicts)?


Thanks in advance.

Dennis
> On 06.06.2013 18:33, Dennis Poon wrote:
>> But which FPC version should I used?
>> The doc said 2.4,
>> should I use 2.6 or 2.7?
>
> Ah, didn't read that. Basic rule: always use the latest release to 
> build a development (e.g. 2.7.1) or fixes version (e.g. 2.6.3). In 
> this case this means that you should use 2.6.2 to build a 2.7.1 compiler.
>
> Regards,
> Sven
>
>>> On 05.06.2013 16:33, Dennis Poon wrote:
>>>> or x86-Windows -> MIPS-linux cross compiler
>>>> or x86-MacOS->MIPS-linux cross compiler?
>>>>
>>>> any one of the above will be big help to me.
>>>>
>>>> I searched the net and the http://wiki.freepascal.org/MIPS_port
>>>>   document seems to be at least Feb 2012 old. I wonder if there 
>>>> exists a
>>>> more updated document or cross compiler already ready for use?
>>>
>>> The instructions look valid. This way of cross compiling hasn't
>>> changed much in the 5 years I'm now working with Free Pascal...
>>>
>>> Regards,
>>> Sven
>>>
>>> _______________________________________________
>>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>>
>>>
>>> -----
>>> No virus found in this message.
>>> Checked by AVG - www.avg.com
>>> Version: 2013.0.3343 / Virus Database: 3184/6384 - Release Date: 
>>> 06/04/13
>>>
>>>
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.3343 / Virus Database: 3184/6388 - Release Date: 06/05/13
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130608/1bd171f7/attachment.html>


More information about the fpc-pascal mailing list