<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<div class="moz-cite-prefix">Am 15.02.2021 um 22:54 schrieb
Alexander Grotewohl via fpc-pascal:<br>
</div>
<blockquote type="cite"
cite="mid:MN2PR03MB529675060F78D1D2063C9D50C5889@MN2PR03MB5296.namprd03.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
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: 0; padding: 0;
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"
cite="mid:MN2PR03MB529675060F78D1D2063C9D50C5889@MN2PR03MB5296.namprd03.prod.outlook.com">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
font-family: sans-serif; font-size: 11pt; color: black; ">
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0;
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="ms-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>
</body>
</html>