8

Looks like available Pascal compilers can only produce binaries for ARM on Linux. Is there established version of compiler/bundle for just bare ARM cpu with zero extra software preinstalled ?

To clarify, I am looking for high quality, compact tool (alternative to commercial C, open source C) for kernel-less, plain embedded CPU with all software in one plain ROM ? IDE with debugging capabilities is nice to have, but not necessary. Dubugger could actually be some different 3rd party generic IDE. I hope that compilers can dump the debug/symbols info in some standard form.

Thank you

  • 1
    The full featured ness of the runtime library may be more of an issue than the absence of a kernel. – Chris Stratton Aug 18 '11 at 18:14
  • Thank you for mentioning RTL. I now starting to recall what was involved to build Turbo Pascal 7.0 RTL from ASM/TASM from scratch. There was a tiny binary piece needed still, even with all source opened as ASM. –  Aug 18 '11 at 18:18
  • I think it is more a matter that FPC doesn't spoon feed you something like that (due to the plethora of devices and options), not that it isn't possible. Afaik people have run code on LPC devices without linux. The entire FPC source is in FPC with small bits in GAS assembler. No binary blobs. What a commercial bit as TP did is irrelevant – Marco van de Voort Aug 19 '11 at 07:27

1 Answers1

6

Free Pascal Compiler supports ARM without any OS. They call it TARGET EMBEDDED.

For ARM Linux take a look at this and this.

There is also Lazarus CT edition cross compiler which seams to target sysless ARM too.

UPDATE 1: mikroElektronika has also recently made Pascal compiler for ARM.

UPDATE 2: Ultibo framework for bare metal Raspberry Pi programming looks outstanding.

avra
  • 3,690
  • 19
  • 19