Using FPC3.2.2, Lazarus 4.4 with Ubuntu 24.04, all newly installed.
I am back to having the following warning messages when I try to compile a program:
project1.lpr(21,1) Warning: "crtbeginS.o" not found, this will probably cause a linking failure
project1.lpr(21,1) Warning: "crtendS.o" not found, this will probably cause a linking failure
This is an old problem and the cure used to involve modifying "# path to the gcclib" in /etc/fpc.cfg. On opening fpc.cfg, I found the "# path to the gcclib" section, but there was nothing in it. I changed it to read
# path to the gcclib
#ifdef cpux86_64
-Fl/usr/lib/gcc/x86_64-pc-linux-gnu/13
#endif
but this has no effect, although crtbeginS.o and crtendS.o are indeed in the indicated directory.
This isn't a critical problem, but I would like to understand it and clean it up. Any guidance would be appreciated. In process of trying to recover from a lost drive. I probably don't understand exactly what is happening in fpc.cfg here.
Thanks!