Mad-Pascal
Mad-Pascal copied to clipboard
Problem locating units on OSes with case sensitive file names
I just went through a long session of trying to figure out why the program that says:
uses stringUtils;
does not compile complaining that unit stringutils cannot be found, even though the library path was set correct. Turns out that on my Linux mp looking for stringutils.pas will never find it, because the file is named stringUtils.pas. Making a soft link stringUtils.pas -> stringutils.pas solved the problem.
I think the only way to make everything work as expected on case-sensitive file systems is to use the correct case. Is the "uses stringUtils;" somewhere in the Mad Pascal main source/examples, or was it in your own code?