[fpc-pascal] Compiling on Raspberry Pi
Paul2006 at BrenemanLabs.com
Tue Aug 7 18:30:23 CEST 2012
> I recently recieved my Raspberry PI. That's an arm-linux device.
> I downloaded the easyfpgui-package from
> I can't compile the dbgterm, I get errors on baudrates that seem
> undefined. In the sources these baudrates are enclosed in IFDEF's. How
> can I know what constants are defined, is there an easy way ? Of course
> I could write a pascal-program with just writeln's enclosed in an IFDEF
> of each possible constant. But where does fpc get the values of these
> constants from ?
> The rest of the apps compile fine although I had no possibility to test
> them since I don't yet have a suitable video-cable.
Someone has already reported: "At least the helloworld and memotest seem
to compile and run OK."
You might want to copy the two files in the SynaSerFromSynapse40 folder
to the root folder and remove "synafpc" from the interface uses list in
both units. That might get things to compile for you.
I'll have to use QEmu and try compiling DbgTerm as that is how I tested
things as I don't have a Raspberry Pi (yet).
Please report back here if/when you get further. Thanks!
More information about the fpc-pascal