[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [marcov@stack.nl: (debian-devel related) FPC static/dynamic]



Hi Bill,

On Fri, 2005-03-11 at 16:22 +0100, Bill Allombert wrote:
> >Hello Roland, I know nothing about fpc, but does it really need to
> >produce binaries statically linked with glibc ? 
> 
> It doesn't. Not all statically linked binaries are statically linked with glibc.
> 
> FPC is no GCC derivate, and uses syscalls directly, unless compiled with
>  FPC_USE_LIBC. All the standard pkg'ed  static bins contain no libgcc/glibc code.
> 
> Keep in mind that non-gcc compilers (and non-C even) can't parse glibc
> headers, so don't automatically adapt to minor changes.
> 
> >I would expect to just
> >link statically with the units and dynamically with glibc. This would
> >be much less a problem. (In particular, if security bugs are found in
> >glibc).
> 
> Recompiling  FPC with  FPC_USE_LIBC defined will force the RTL to use libc,
> however this is not advised.

OK, then I will upload m-tx just statically linked (against syscalls).
If someone has got a better idea, please contact me directly.

Thanks!

bye,
  Roland



Reply to: