[fpc-pascal] Compiling on Raspberry Pi
Paul Breneman
Paul2006 at BrenemanLabs.com
Tue Aug 7 18:30:23 CEST 2012
Hi Koenraad,
> I recently recieved my Raspberry PI. That's an arm-linux device.
> I downloaded the easyfpgui-package from
> http://www.turbocontrol.com/easyfpgui.htm.
> 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."
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=11622&p=127349#p127349
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!
Paul
More information about the fpc-pascal
mailing list