On 08/20/2015 06:56 AM, Jonas Maebe wrote:
On 20/08/15 15:46, Chris Moody wrote:
Thanks for that. Do you happen to know if you can build console based
apps with it also? I have a deadline fast approaching, and at this point
seriously considering re-writing the code in a language I know is
supported on the Pi.
I still don't understand why you don't simply install FPC 2.6.4 using
the package manager of the Linux distribution on your Raspberry Pi. You
can't get more supported than that.
Jonas
_______________________________________________
Hi Jonas,
I've done that. Still can't compile code due to ld:
Assembling dentist
Linking Dentist
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In
function `_haltproc_eabi':
(.text+0x88): undefined reference to `_fini'
/home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In
function `_haltproc_eabi':
(.text+0x90): undefined reference to `_init'
Dentist.pas(106) Error: Error while linking
Dentist.pas(106) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcarm returned an error exitcode
That is the result of: fpc Dentist.pas -Fusource/lib
-Fu/usr/lib/fpc/2.6.4/units/arm-linux
So I'm not sure where to go from here.
Chris
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal