<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 07.05.2019 um 00:16 schrieb Nozz via
fpc-pascal:<br>
</div>
<blockquote type="cite"
cite="mid:W9SUErXBKO13NNCf_iF8X6A3W_zxVD5s51pUnY879xK46syTxe0ozFi2IR85ZR-9isyrr2j_jdDvaJioMhXIMwGu1q-eue2a9rASjkYCLMk=@protonmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div> On Monday, May 6, 2019 10:48 PM, Sven Barth
<a class="moz-txt-link-rfc2396E" href="mailto:pascaldragon@googlemail.com"><pascaldragon@googlemail.com></a> wrote:<br>
</div>
<div> <br>
</div>
<blockquote type="cite" class="protonmail_quote">
<div dir="auto">
<div class="gmail_quote" dir="auto">
<div dir="ltr">Nozz via fpc-pascal <<a rel="noreferrer
nofollow noopener"
href="mailto:fpc-pascal@lists.freepascal.org"
moz-do-not-send="true">fpc-pascal@lists.freepascal.org</a>>
schrieb am Mo., 6. Mai 2019, 22:18:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Empty Message<br>
</div>
</blockquote>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Depends on what you're using (and the
platform). E.g. the compiler itself runs
without glibc on Linux, but if you need to use threads for
example that
changes. Also if you link against libraries like GTK or Qt
you also
indirectly link to glibc and the RTL's initialization code
will change
due to this. <br>
</div>
<div dir="auto">On some targets (e.g. macOS) using the C
library is a must. <br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Regards, <br>
</div>
<div dir="auto">Sven<br>
</div>
</div>
</blockquote>
<div><br>
</div>
Thanks, if I want to compile a program for Alpine Linux (musl libc
instead of
glibc) , is my best option to compile FPC&Lazarus from source?<br>
</blockquote>
As a first step you could simply test whether the existing binaries
work, cause the C library is entered as "libc.so.6" into the ELF
file. If it doesn't start and complains about a missing library then
you should recompile both from source.<br>
<br>
Regards,<br>
Sven<br>
</body>
</html>