[fpc-pascal] Issue with Linking
inquiry at greensnakedesign.com
Fri Aug 21 19:31:13 CEST 2015
On 08/21/2015 01:08 AM, Jonas Maebe wrote:
> Chris Moody wrote:
>> Seems it compiles but still complains about linking.
>> Free Pascal Compiler version 3.0.0rc1 [2015/08/20] for arm
>> Copyright (c) 1993-2015 by Florian Klaempfl and others
>> Target OS: Linux for ARMHF
>> Assembling dentist
>> Linking Dentist
>> Dentist.pas(106) Warning: "crtbegin.o" not found, this will probably
>> cause a linking failure
>> Dentist.pas(106) Warning: "crtend.o" not found, this will probably cause
>> a linking failure
> These are gcc files. When performing a regular installation of FPC,
> the path to these files is added to fpc.cfg using the -Fl parameter.
> You can manually get this path with
> dirname `gcc --print-libgcc-file-name`
> Then add -Fl<result_of_the_above> to the "#ifdef VER3_0" section of
> your .fpc.cfg
For now I won't worry about it as the code does turn into an executable
program. Just thought I would report it, in case anyone was curious.
More information about the fpc-pascal