UNIT RTL where is it? lazarus / 13-General ---------------------------------------------------------------------- userx-bw · 2014-01-30 22:09 GetCurrentProcessID function in RTL but I get mainform.pas(34,32) Fatal: Can not find unit rtl used by mainform. then this bug report say that was fixed in FP 2.2.1 I have 2.6.2 anybody know where RTL is? Quote Summary   0010775: fpcmake -v on x86_64-linux; Error: Target "linux", package "rtl" not found Date Modified   Username   Field   Change 2008-02-06 15:13   miro ilias   New Issue    2008-02-06 15:13   miro ilias   Widgetset   => GTK 2008-02-06 17:26   Vincent Snijders   Project   Packages => FPC 2008-02-06 17:54   Peter Vreman   Fixed in Revision   => 9848 2008-02-06 17:54   Peter Vreman   Status   new => resolved 2008-02-06 17:54   Peter Vreman   Fixed in Version   => 2.2.1 2008-02-06 17:54   Peter Vreman   Resolution   open => fixed 2008-02-06 17:54   Peter Vreman   Assigned To   => Peter Vreman 2008-04-13 16:48   Jonas Maebe   Status   resolved => closed ---------------------------------------------------------------------- Martin_fr · 2014-01-30 22:14 Actually GetCurrentProcessID is in unit "windows" (so works only for windows, not any other OS) RTL is a collection of many units. It stands for "Run Time Library" ---------------------------------------------------------------------- userx-bw · 2014-01-30 22:52 Quote from: Martin_fr on January 30, 2014, 11:14:10 pmActually GetCurrentProcessID is in unit "windows" (so works only for windows, not any other OS) RTL is a collection of many units. It stands for "Run Time Library" could swear I seen the word UNIX in there somewhere in the docs .. Oh well .. I'll just keep plunging away at this .... thanks ---------------------------------------------------------------------- Martin_fr · 2014-01-30 23:29 The RTL exists for all OS, only some small parts, are not. GetCurrentProcessID:  Maybe there is a version for unix, but then in a different unit. On windows the IDE found it in the windows unit.