On 21 Sep 2013, at 23:04, Xiangrong Fang <xrf...@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_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal