[fpc-pascal] Issue with Linking

Henry Vermaak henry.vermaak at gmail.com
Thu Aug 20 16:29:13 CEST 2015


On Thu, Aug 20, 2015 at 04:19:33PM +0200, Jonas Maebe wrote:
> 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.

I'm glad that's fixed then.  I've had to do this on all my (Debian
based) embedded systems, since the compiler never looked in the right
place.

Henry



More information about the fpc-pascal mailing list