[Lazarus] Built Lazarus on RPi2, warning on every project build

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sun Oct 11 13:48:55 CEST 2015


Mark Morgan Lloyd wrote:
> wkitty42 at windstream.net wrote:

>>> Warning: "crtbegin.o" not found, this will probably cause a linking
>>> failure
>>> Warning: "crtend.o" not found, this will probably cause a linking
>>> failure
>>>
>>> Why does this happen? And what can be done about it?

> I /think/ that somebody pointed out elsewhere that those were spurious, 
> but I'd need to check.

If it causes issues then for Wheezy 2015 try adding

-Fl/usr/lib/gcc/arm-linux-gnueabihf/4.6

to your /etc/fpc.cfg, or for Jessie add

-Fl/usr/lib/gcc/arm-linux-gnueabihf/4.9

Note there's no space in there. Remember that for configuration files 
like this you'll usually need to use a unix/Linux editor, since the 
line-ending convention is different for DOS.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list