Extending default search path for units lazarus / 11-Options ---------------------------------------------------------------------- Bart · 2008-02-18 10:04 Hi, I have several units that I use frequently. They are in a seperate folder. For each new project I have to tell the compiler that I use units in that folder. Obviously there is some place where I can tell lazarus/fpc to search this folder by default. But in what config file, and what is the syntax? Bart ---------------------------------------------------------------------- Zaher · 2008-02-18 11:21 You can add your path in FPC.CFG in fpc bin folder -FuYourPath but i still prefer make a default search pathes like as Delphi ---------------------------------------------------------------------- Bart · 2008-02-19 16:40 Quote from: "zaher"You can add your path in FPC.CFG in fpc bin folder -FuYourPath Thanks, will do that. Quote from: "zaher"but i still prefer make a default search pathes like as Delphi And by this you mean like in Delphi it would be nice to have a "Default" button in the compilers options dialog to set default compiler options? I once suggested that in the appropriate subforum here... If you mean something else, please explain. Thanks for now. Bart ---------------------------------------------------------------------- What I can do · 2024-04-28 15:44 This is probably out dated and too mundane for most users but I did have success by.. finding the Lazarus install folder then the T:\Lazarus\fpc\3.2.2\source which I got from the IDE [Tools] Option->File=>"FPC source Directory" Now in the "Lazarus\fpc\3.2.2\source" I created a folder "Global Units" and copied my unit to there Looks like it is working for now or at least I have gotten any error messages