[fpc-pascal] Issue with Linking
inquiry at greensnakedesign.com
Thu Aug 20 16:03:11 CEST 2015
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.
I've done that. Still can't compile code due to ld:
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
(.text+0x88): undefined reference to `_fini'
(.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
So I'm not sure where to go from here.
More information about the fpc-pascal