[fpc-pascal] Issue with Linking

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Aug 20 16:19:33 CEST 2015


On 20/08/15 16:15, Henry Vermaak wrote:
> Those symbols (_fini and _init) are defined in crti.o.  Try `locate
> crti.o`, you'll get something like /usr/lib/{arch-triplet}/crti.o.  Add
> this directory to your fpc options with -Fl.  E.g. fpc
> -Fl/usr/lib/arm-linux-gnueabi

Please do not do that. The compiler looks for that file in the correct
location. Telling it to look for it in a different location will make it
try to link the file for a wrong ABI.


Jonas



More information about the fpc-pascal mailing list