[fpc-pascal] how to disable case sensitivity for file names on *nix?

Sven Barth pascaldragon at googlemail.com
Sun May 11 09:29:03 CEST 2014


Am 10.05.2014 23:39 schrieb "waldo kitty" <wkitty42 at windstream.net>:
>
> On 5/10/2014 5:14 PM, Sven Barth wrote:
>>
>> On 10.05.2014 20:09, waldo kitty wrote:
>>>
>>>
>>> i'm using git to pull a project from sourceforge to a windows box and to
>>> a linux box... on windows, the project compiles fine... on linux,
>>> though, all of the files' names are lowercase but the sources have upper
>>> and CaMeL cased file names in the uses and include statements... i have
>>> no control over the project or the git repository it originates from...
>>
>>
>> FPC will look for each unit and include file (including directory names)
in
>> lowercase, UPPERCASE and AsWritten (AFAIK even in that order)
>
>
> maybe this is not the problem i'm facing, then... i'll have to dig deeper
into the build script... it is a very simple build script but there may be
a bug in it with an environment variable it sets for the library files...

You could add the option -vut to see which files the compiler tries to use
(t) and which it does then finally use (u). Be aware though that this might
get noisy ;)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140511/f7dbb0bf/attachment.html>


More information about the fpc-pascal mailing list