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

Jy V jyv110 at gmail.com
Thu Nov 20 23:17:59 CET 2014


Jonas, Sven,

Thank you for the intel,
is there anyone willing to collect a 500 euros bounty to provide a
HelloWorld console program compiled with Lazarus to run on OSv ?

Jyv.


On Thu, Nov 20, 2014 at 2:28 PM, Jonas Maebe <jonas.maebe at elis.ugent.be>
wrote:

>
> 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
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20141120/b4e8bb9c/attachment.html>


More information about the fpc-devel mailing list