Incorrect paths added to fpc.cfg
Original Reporter info from Mantis: trev @trevoz
-
Reporter name: Trevor Roydhouse
Original Reporter info from Mantis: trev @trevoz
- Reporter name: Trevor Roydhouse
Description:
On both Intel and aarch64, fpc.cfg after a new, clean installation (witho9ut Xcode) includes these four lines:
-Fl/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin18.7.0
-Fl/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin18.7.0
-Fl/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin18.7.0
-Fl/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin18.7.0
The directory in those lines does not exist, though there is this directory:
/Library/Developer/CommandLineTools/usr/lib/clang/10.0.1/lib/darwin
Similarly, with Xcode installed:
-Fl/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin20.1.0
-Fl/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin20.1.0
-Fl/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin20.1.0
-Fl/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin20.1.0
The directory in those lines does not exist, though there is this directory:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/
Query whether these non-existent directories are needed at all as no ill effects have been seen.
Steps to reproduce:
Installation of the Lazarus File Area FPC binary and source packages for 64 bit.
Mantis conversion info:
- Mantis ID: 38484
- OS: macOS
- OS Build: 10.14.6, 11.2.1
- Platform: Apple
- Version: 2.0.10