On Monday 24 of October 2011 04:00:40 Paul Ishenin wrote:
> 23.10.2011 20:01, Paul Ishenin пишет:
> > 23.10.11 19:49, 4iter пишет:
> >> Hi!
> >> Fatal: Compilation aborted
> >> ..............................................
> >> Maybe fixit it with #ifdef ?
> > 
> > How to define this ifdef?
> > 
> > Maybe it could be fixed either by dynamic loading or weakexternal
> > directive?
> 
> I tried to handle the situation by using LoadLibrary, GetProcAddress and
> also failed on osx.
> 
> The next line tries to load "iconv.dylib" while on osx the library name
> is "/usr/lib/libiconv.dylib":
> 
> iconvlib:=LoadLibrary(libiconvname+'.'+SharedSuffix);
> 
> Now I don't understand how it works with the static linking if
> "libiconvname" variable is "iconv"?

Because ld knows about "real" libiconv ?

zeljko
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to