[fpc-pascal] ARM-Cortex port

Andreas Berger Andreas at TheBergerClan.org
Mon Aug 23 18:57:30 CEST 2010


  Thanks Jonas and Jeppe for your answers. I will probably wait then to 
switch (or try to convince the company to use an ARM-9)


On 23/8/2010 11:21 AM, Jeppe Johansen wrote:
>  Den 23-08-2010 16:09, Andreas Berger skrev:
>>  I know that FPC works under ARM+Linux. Is this also true for the 
>> Cortex version of ARM? One of our major applications is written in 
>> C++ simply because it is to run in the future on an embedded system 
>> as well as the PC. Well the embedded processor has been chosen - the 
>> Luminary (TI) ARM-Cortex processor.
>>
>> Will FPC run on this processor? Does anyone have experience? If FPC 
>> runs I may be able to convert my last C++ app to pascal.
>>
>> Thanks,
>> Andreas
>>
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> From my findings Luminary is Cortex-M3 based, in which case there's 
> needed a base code RTL for it. FPC will generate code for it, and it 
> should generally work, but it's not very optimized yet(other than 
> generic optimization), and there are many unsupported inline assembler 
> instructions(primarily special system instructions). But there are 
> ofcourse workarounds for the assembler code
>
> Currently there's only half working stub code for the STM32F103 
> Cortex-M3 based chip, but I'll gladly help if you have any questions
>
> Regards,
> Jeppe
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



More information about the fpc-pascal mailing list