<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Thank you Sven, this will be a big help</p>
<p>Regards,<br>
Andreas<br>
</p>
<br>
<div class="moz-cite-prefix">On 22/08/2018 12:12, Sven Barth via
fpc-pascal wrote:<br>
</div>
<blockquote
cite="mid:CAFMUeB_2Y0TjuYQdAKVsWkqjMGkDUkCm-+0At8t_q4mjipDbXA@mail.gmail.com"
type="cite">
<div dir="auto">
<div class="gmail_quote" dir="auto">
<div dir="ltr">Andreas <<a moz-do-not-send="true"
href="mailto:andreasberger.516@gmail.com">andreasberger.516@gmail.com</a>>
schrieb am Mi., 22. Aug. 2018, 12:59:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, I have
a question. Is it possible to link FPC for Linux (PC and
ARM) <br>
with GCC or other C++ object files?<br>
</blockquote>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">You can use the $L directive for this ( <a
moz-do-not-send="true"
href="https://freepascal.org/docs-html/current/prog/progsu43.html#x50-490001.2.43">https://freepascal.org/docs-html/current/prog/progsu43.html#x50-490001.2.43</a>
).</div>
<div dir="auto">If you use C++ it's recommended to use "extern
"C"" however even though FPC supports cppdecl (as it can't
handle all cases currently). And classes won't work either. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Regards, </div>
<div dir="auto">Sven </div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></pre>
</blockquote>
<br>
</body>
</html>