On Fr, 2016-03-18 at 16:34 -0700, fredvs wrote: > > When following the procedure calls I find: > ... > > Hello Mark. > > Thanks for your light. > > Huh, yes, IMO, there is something strange in dlsym/FreeBSD.
Would you mind telling the result of dlerror()? > And asking something about C library/compiler is extremely sensible there on > FreeBSD forum. > (FreeBSD needs 8 (!) different C compilers (clang, c++, CC, cc, cpp, ...) to > compile himself). Not really. Since c++ is the same compiler as (g)cc, cpp is the C ppreprocessor an CC is mostly only used as a variable name in Makefiles and shell skripts set to the right compiler, that is clearly wrong. There are in fact different C compilers which are all able to compile C or C++. There is actually the system compiler, which has been gcc and will be or is already clang. Some ports require newer versions of gcc, so sometimes there are two or three of them installed. But that's it, AFAIK. Look: marc@puma:/home/marc > cc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] marc@puma:/home/marc > gcc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] marc@puma:/home/marc > CC -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] marc@puma:/home/marc > c++ -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] marc@puma:/home/marc > cpp --version cpp (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. All the same. ;) Only that one differs: marc@puma:/home/marc > clang -v FreeBSD clang version 3.0 (tags/RELEASE_30/final 145349) 20111210 Target: x86_64-unknown-freebsd9.0 Thread model: posix You can try looking at the manual pages, type in "man cc" and the other names. -- Marc Santhoff <m.santh...@web.de> _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal