[fpc-pascal] build case-sensetive issue

Tomas Hajny XHajT03 at mbox.vol.cz
Sat Apr 25 00:40:50 CEST 2009

On 25 Apr 09, at 1:53, dmitry boyarintsev wrote:


> i've been rebuilding svn version of fpc i386-linux.
> i'm building RTL using 'make all install INSTALL_PREFIX=mypath'
> mypath is located on a Fat32 disk (flash drive).
> All compiled unit files (.o, .ppu) are copied fine, expect for
> 'Syscall.o' and 'UnixUtil.o'.
> they are compiled and present at RTL/units/i386-linux/ directroy, but
> has not been copied by make script.
> After copying and renaming them to lower case everything works.
> I guess the error is caused by mixing case-sensetive OS and
> case-insensetive file system (FAT32)
> Please fix make script to be more case-(in)sensetive?!

You are partly right (it has something to do with a case insensitive 
filesystem), but the problem may exist also for case insensitive 
operating systems, because GNU Make is always case sensitive (even on 
case insensitive file systems and case insensitive operating systems -
 e.g. under OS/2). I'm afraid that this is rather difficult to fix in 
the Make script; the only possibility is probably ensuring that such 
files (with different case from the original source file name) are 
never created by FPC.


More information about the fpc-pascal mailing list