[fpc-devel] RE: error when linking
yetanothergeek at gmail.com
Thu May 26 00:28:42 CEST 2005
> So I delete the chmlib.so and the
> compiler try to compile with chmlib.a
FPC tells the linker to look first in the current directory,
so instead of deleting chmlib.so, you can just do this:
% ln -s /usr/local/lib/libchm.a
in the directory of your pascal source.
> undefined reference to `__moddi3'
Try adding this line to the top of your unit or program:
More information about the fpc-devel