Where to find my standard units lazarus / 11-Options ---------------------------------------------------------------------- Bazzao · 2017-05-30 23:09 Still coming to grips from being a Delphi5 user to Lazarus. Do I have to enter in each new project the directory where I store my personal standard units, or is there a permanent setting?. I seem to have to go to "Options for project" and enter the directory under "Other unit files (-Fu)" otherwise the compiler cannot find my standard units. Delphi5 had a permanent global setting. Other info: Lazarus 1.6.4 Windows 10 /64. TIA Bazza ---------------------------------------------------------------------- sky_khan · 2017-05-30 23:31 I'm not aware of such setting in Lazarus but you can add them as compiler settings as -Fu{absolute path to your units} in LazarusDir/fpc/{fpc_version}/bin/{cpu/platform}/fpc.cfg. On my windows machine its located in lazarus\1.6.4\fpc\3.0.2\bin\i386-win32\fpc.cfg ---------------------------------------------------------------------- Bazzao · 2017-05-30 23:33 Thanks. I'll give it a go. And if I change the directory, can I delete the old setting? If so, how? TIA Bazza. ---------------------------------------------------------------------- Bazzao · 2017-05-30 23:36 It's OK. I thought you posted a command line. I've opened the .cfg file and it seems to be friendly enough. Thanks. bazza ---------------------------------------------------------------------- sky_khan · 2017-05-30 23:38 Yep. It's just a text file, one compiler setting per line. They are treated as you give command line options to compiler. You can modify it as you wish. Give it a look, you'll figure out. ---------------------------------------------------------------------- Bazzao · 2017-05-30 23:40 Yep. That did the trick. My config file was not the exact path, but easily findable given your instructions. Thanks Bazza