<div dir="ltr"><div dir="ltr"><div dir="ltr">very good.<div><br></div><div>I created the new directories</div><div><br></div><div>./synapse and</div><div>./lazutils</div><div><br></div><div>in </div><div><br></div><div>/usr/lib/fpc/3.2.0/units/x86_64-linux</div><div><br></div><div>It worked like a charm.</div><div><br></div><div>It seems that all the units in that directory are searched by default.</div><div><br></div><div>Thank you</div><div><br></div><div>Duilio</div><div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 16, 2021 at 7:29 AM Sven Barth <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>Am 15.02.2021 um 22:54 schrieb
Alexander Grotewohl via fpc-pascal:<br>
</div>
<blockquote type="cite">
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
There's a command line parameter.. try something like<br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
fpc -FU~/.units.lnx yourapp.pp<br>
</div>
</blockquote>
<br>
Just to explain what -FUxxx does: this sets the unit output path. If
you have precompiled units (or source files) in a different location
you need to use -Fuxxx which sets the unit search path.<br>
<br>
<blockquote type="cite">
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
Of course you would have to remember to do that for EVERY
compile (I set my text editor to do it) but you could probably
add it to your fpc.cfg too.<span id="gmail-m_-3208885165803236765ms-outlook-android-cursor"></span><br>
</div>
</blockquote>
<br>
You can add additional parameters to a custom file (just like you'd
do with the global fpc.cfg) and then add it using the @ parameter:<br>
<br>
fpc @your.cfg yourapp.pp<br>
<br>
Regards,<br>
Sven<br>
</div>
</blockquote></div></div>