Haven't a Pi, yet. But this might help: http://wiki.freepascal.org/Lazarus_on_Raspberry_Pi