On Sun, 8 Jun 2008, Marc Santhoff wrote:
> Hi again, > > I have more questions on linking. What can prevent dynamic linking from > being possible? Like in the following snippet from fpcdebug.txt: > > 00008000:Searching file D:\FPC\2.2.0\BIN\I386-WIN32\libhdf5.dll.a... not found > 00008000:Searching file hdf5.dll... found > 00008000:unit H5_ATTRIBUTE can't be shared linked, switching to static linking ^^^^^^^^^^^ You should remove any -XS -XD -CX options you can find, they are causing this. > 00008000:Searching file .\libimpsysinitpas.a... not found > 00008000:Searching file > D:\FPC\fpcbuild-2.2.0\fpcsrc\packages\extra\hdf5\units\i386-win32\libimpsysinitpas.a... > not found > 00008000:Searching file > D:\FPC\2.2.0\units\i386-win32\rtl\libimpsysinitpas.a... found > 00001000:Linking h5_attribute.exe > 00008000:Searching file libhdf5.a... not found > > Is there any documentation on this topic? > Or maybe some hints how the reason that stops dynamic linking can be > found? > > I'm amazed that this is an issue, I would never expect problems on such > matters ... Neither would I... Can you send me the sources if the problem persists after getting rid of all 'wrong' options ? Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal