Mixed case unit file names not allowed on Linux
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
When trying to compile e.g. rjPasDoc on Linux, fpc tries to find a unit called "MAIN" when the unit is actually called "Main.pas" (rjPasDoc.dpr has the uses clause "uses Main").
This can be circumvented, as I do currently, by moving the files to e.g. a SAMBA share where the file system takes care of this (SAMBA is not case-sensitive).
Could you add a command-line switch to the compiler making it handle case-sensitive unit file names ? I don't like case-sensitivity myself, but the Linux file system is case-sensitive, and more importantly so is Kylix. So to be compatible with Kylix you will need this feature I think.
Additional information:
Reporter: Jan Holst Jensen
EMail: jhje at novonordisk dot com
Mantis conversion info:
- Mantis ID: 3678
- OS: Linux
- Version: 1.0.4
- Fixed in version: 1.1.0