[fpc-pascal] Bug in $linklib?

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Sep 22 16:25:57 CEST 2013


On 21 Sep 2013, at 23:04, Xiangrong Fang <xrfang at gmail.com> wrote:

> I use $linklib to link my fpc program with a C++ so file.   I found that the $linklib directive does NOT conform with ld specification.

Directives conform with the fpc specifications. Not all platforms use GNU ld, and additionally ":" is a valid character in file names on Unix platforms. Either rename the library so it conforms to the standard platform conventions or us fpc's -k parameter to pass command line options directly to the linker.


Jonas


More information about the fpc-pascal mailing list