[fpc-pascal] alternatives for "cwstring" and "cthreads"

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Fri Dec 11 16:44:10 CET 2015


Hi,

http://www.freepascal.org/docs-html/rtl/cwstring/
http://www.freepascal.org/docs-html/rtl/cthreads/

Both the "cwstring and "cthreads" units (as per the documentation) says
that it links to the C library of unix systems.

Does this make your programs more dependent on a specific version of the
C library? Or can you run a current unix program (say compiled on the
latest Ubuntu Linux) on say a 10 year old Linux? [lets assume it is a
console or daemon application, not GUI]

Are there any drawbacks in letting your program link to such a C library?

Are there alternatives to those units that don't link to such a C
library, but still allows your unix programs to use threading and
unicode text (new FPC codepage-aware String)?


Just curious. ;-)


Regards,
  - Graeme -


My public PGP key:  http://tinyurl.com/graeme-pgp



More information about the fpc-pascal mailing list