Page 1 of 1
[PB6.20-beta2] User-PureLibrary filenames are written in lowercase
Posted: Tue Dec 24, 2024 3:05 pm
by Sicro
Is it intentional that the User-PureLibrary file is created with a lowercase name on Linux? On Windows, the filename is as specified with the “--output” parameter.
Re: [PB6.20-beta2] User-PureLibrary filenames are written in lowercase
Posted: Tue Dec 24, 2024 5:13 pm
by mk-soft
Makes sense, because Linux file system is case sensitive
Re: [PB6.20-beta2] User-PureLibrary filenames are written in lowercase
Posted: Tue Dec 24, 2024 5:13 pm
by Fred
Yes it's done like that for official libs to reduce errors
Re: [PB6.20-beta2] User-PureLibrary filenames are written in lowercase
Posted: Wed Dec 25, 2024 1:56 pm
by Sicro
Yes, almost all Linux distributions use the default setting for the file system, which is case-sensitive.
Yes, it makes sense.
I encountered this behavior when I created a PureLibrary:
Code: Select all
$ pbcompilerc Test.pb --purelibrary --output TestLib
PureBasic 6.20 Beta 2 - C Backend (Linux - x64)
Loading external modules...
Starting compilation...
67 lines processed.
Creating threaded version of the PureLibrary...
Starting compilation...
67 lines processed.
PureLibrary successfully created: "/home/alexander/purebasic/purelibraries/userlibraries/TestLib"
Later, I wanted to delete the PureLibrary again:
Code: Select all
$ rm /home/alexander/purebasic/purelibraries/userlibraries/TestLib
rm: cannot remove '/home/alexander/purebasic/purelibraries/userlibraries/TestLib': No such file or directory
Code: Select all
$ ls /home/alexander/purebasic/purelibraries/userlibraries/
README testlib
I created a
bug report to better track the bug.