In our previous episode, Graeme Geldenhuys said:
> > There are FPC programs from 8 years back that still work with the current 
> > kernel. Try that with a program that depends on the C library.
> 
> Sorry if this sounds dumb - it's late in the week. ;-)
> Is this an issue, even if your program doesn't use any
> procedures/functions from the dynamically linked C library. For example,
> a console application that includes the cthreads unit (which dynamically
> links to C Library), but doesn't actually use the C Library or threads.
> Would such a console application not run on an 8 year old Linux distro?

No.  The init code touches errno, and that has changed several times due to
the fact that that var became threadsafe.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to