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
<snip>
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
Jonas
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.
Chris
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal