[fpc-devel] FPC for Linux x64 compiling static ELF without using glibc ?

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Nov 20 14:28:37 CET 2014


On 20 Nov 2014, at 14:19, Sven Barth wrote:

> One can however recompile the RTL to use the C library (though as  
> Jonas
> said that is not the default). Please also note that adding additional
> units might result in the C library being linked in nevertheless (e.g.
> cmem, pthreads, etc.).

Even if you use the C library, in principle you can link statically.  
This is not very often tested with FPC though, and by default it  
indeed links dynamically to libc.


Jonas



More information about the fpc-devel mailing list