Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-04

build case-sensetive issue

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

dmitry boyarintsev

hello,

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?!

thanks,
dmitry

Tomas Hajny
to dmitry boyarintsev

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

Hi,

Show quoted text 13 lines
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.

Tomas

dmitry boyarintsev
to Tomas Hajny

thanks for the reply.

i guess ppl, using linux os, rarely build on case-insensetive filesystem. Otherwise, they should be aware of such problems.

thanks,
dmitry