On 13 Feb 2009, at 13:44, Guillermo Martínez Jiménez wrote:

From: Jonas Maebe

Maybe the problem is that the default FPC config file enables symbol
stripping. So even though the routines from the library are in your
program, dynamically loaded libraries won't be able to find them since
the symbol names are gone. Try compiling the program with -Xs- to
disable symbol stripping.

That's a good tip. That's logic, because I don't use that symbol directly.

You're referring to smart linking. Indeed, smart linking should also be disabled (use -XS to force regular static linking)


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to