← board

feature-compiler-search-path-pcl (Track A)

Description

The GUI library has been renamed from Lazarus Component Library (LCL) to Pxx Component Library (PCL) to avoid naming confusion with Lazarus. The library units under lib/ have been relocated from lib/lcl/ to lib/pcl/.

Currently, the compiler has hardcoded paths to search lib/lcl/ for fallback library units (specifically in compiler/parser.inc around lines 9518, 9525, 9604, 9607). These should be updated to search lib/pcl/ instead of lib/lcl/.

Affected Files in Compiler

In compiler/parser.inc:

Done Criteria

Log

DONE 2026-06-20 (commit f9e0069)

Updated the 4 default unit-search fallbacks in parser.inc from lib/lcl/ to lib/pcl/ (+ the ExeDir-relative ../lib/pcl/ and the two CWD-relative .pas/.pp fallbacks, + comments). GUI programs now resolve PCL units without an explicit -Fulib/pcl. (lib/lcl no longer exists — Track B's rename landed.) x86-64 self-host byte-identical.