<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Here’s another implementation using blockread and blockwrite. The main thing missing is setting the file attributes on *nix systems.</div><div><br></div><div>Rgds Darius </div><div><br></div><div><br></div><a href="https://github.com/daar/pmake/blob/master/pmake/pmake_utilities.pas">https://github.com/daar/pmake/blob/master/pmake/pmake_utilities.pas</a><br><br><div id="AppleMailSignature" dir="ltr">Verstuurd vanaf mijn iPhone</div><div dir="ltr"><br>Op 20 apr. 2019 om 11:23 heeft Joost van der Sluis <<a href="mailto:joost@cnoc.nl">joost@cnoc.nl</a>> het volgende geschreven:<br><br></div><blockquote type="cite"><div dir="ltr"><span>Op 18-04-19 om 13:04 schreef James Richters:</span><br><blockquote type="cite"><span>How would I use this LazUtils Package with just FPC?   Is there way to download it by itself? Or would I have to Install Lazarus somewhere, go find the unit and copy it in with all my FPC Units?</span><br></blockquote><span></span><br><span>Lazutils could also be installed with Fppkg. Just download the sources, locate the fpmake.pp (components/lazutils) make sure that that directory is the current directory and run 'fppkg install'.</span><br><span></span><br><span>Thereafter you can use the Lazutils-units in all your fpc-applications.</span><br><span></span><br><span>If you update your compiler (trunk of fixes), call 'fppkg fixbroken' to re-compile the packages which are installed.</span><br><span></span><br><span>If you update to a really new version of the compiler, you have to install the package again.</span><br><span></span><br><span>Regards,</span><br><span></span><br><span>Joost.</span><br><span></span><br><span>-- </span><br><span><a href="http://lazarussupport.com">http://lazarussupport.com</a> - Your donation helps to push Free Pascal and Lazarus forwards.</span><br><span>_______________________________________________</span><br><span>fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a></span><br><span><a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></span></div></blockquote></body></html>