Re: [fpc-devel] fnmatch (linux), where is the external code/symbol located?

2023-10-26 Thread Wayne Sherman via fpc-devel
On Wed, Oct 25, 2023 Alfred wrote: > AFAIK, the GTK fnmatch can be found here: > https://codebrowser.dev/gtk/include/fnmatch.h.html > Additional source-link: > https://gitlab.gnome.org/rburton/gdk-pixbuf/... Ok, I searched again in the official/upstream repo and found the function fnmatch and

Re: [fpc-devel] fnmatch (linux), where is the external code/symbol located?

2023-10-26 Thread Alfred via fpc-devel
Additional source-link: https://gitlab.gnome.org/rburton/gdk-pixbuf/-/blob/GTK_MULTIHEAD_MERGEPOINT_28_03_02/gtk/fnmatch.c#L61 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] fnmatch (linux), where is the external code/symbol located?

2023-10-26 Thread Alfred via fpc-devel
AFAIK, the GTK fnmatch can be found here: https://codebrowser.dev/gtk/include/fnmatch.h.html But I am 100% in favour of only using fnmatch from glibc ! ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] fnmatch (linux), where is the external code/symbol located?

2023-10-25 Thread Wayne Sherman via fpc-devel
On Tue, Oct 17, 2023 at 12:32 AM Marco van de Voort wrote: > - Since it has perfectly fine definition in libc, my guess that this is > some old workaround of GTK2 for some defunct version (or multiple > varying prototypes) of fnmatch, something might have been resolved a > decade ago already. > >

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-19 Thread robert rozee via fpc-devel
Sent: Thursday, October 19, 2023 at 1:56 AM From: "Fred vS via fpc-devel" > @ Rob: >> #!/bin/sh >> COMPILER=fpc >> make clean >> make all FPC=$COMPILER OPT="-Fl/usr/local/lib" >> make FPC=$COMPILER install INSTALL_PREFIX=/usr/ >> this script, according to Fred vS, rebuilds: FPC, the FPC RTL, and

[fpc-devel] fnmatch (linux), where is the external

2023-10-19 Thread Fred vS via fpc-devel
Hello. @ Rob: > #!/bin/sh > COMPILER=fpc > make clean > make all FPC=$COMPILER OPT="-Fl/usr/local/lib" > make FPC=$COMPILER install INSTALL_PREFIX=/usr/ > this script, according to Fred vS, rebuilds: FPC, the FPC RTL, and the > Lazarus LCL. Hum, if I may, I never said that this script will

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-18 Thread robert rozee via fpc-devel
Sent: Wednesday, October 18, 2023 at 9:03 PM From: "Mattias Gaertner via fpc-devel" > Patches don't work with debs. >> given that i have installed from the three .deb packages, how do i perform a >> rebuild of the Lazarus packages? do i add the line "make distclean bigide" >> to the end of

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-18 Thread Mattias Gaertner via fpc-devel
On 18.10.23 02:03, robert rozee via fpc-devel wrote: [...] i prefer to work with a non-moving target, that is the sourceforge releases. this way, others can duplicate exactly my environment, and see what i see. i also believe that the vast majority of users get their FPC and Lazarus from

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread robert rozee via fpc-devel
Sent: Wednesday, October 18, 2023 at 9:58 AM From: "Mattias Gaertner via fpc-devel" >> interesting. the above script has been widely circulating on the lazarus/FPC >> forums, and to date none of >> the 'experts' there, including Marco, have suggest it is deficient. this >> silence disappoints

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread Mattias Gaertner via fpc-devel
On 17.10.23 22:22, robert rozee via fpc-devel wrote: Sent: Wednesday, October 18, 2023 at 3:05 AM From: "Mattias Gaertner via fpc-devel" #!/bin/sh COMPILER=fpc make clean make all FPC=$COMPILER OPT="-Fl/usr/local/lib" make FPC=$COMPILER install INSTALL_PREFIX=/usr/ No, it updates fpc and

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread robert rozee via fpc-devel
Sent: Wednesday, October 18, 2023 at 3:05 AM From: "Mattias Gaertner via fpc-devel" >> #!/bin/sh >> COMPILER=fpc >> make clean >> make all FPC=$COMPILER OPT="-Fl/usr/local/lib" >> make FPC=$COMPILER install INSTALL_PREFIX=/usr/ > > No, it updates fpc and all its packages. It does not touch any

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread Mattias Gaertner via fpc-devel
On 17.10.23 15:34, robert rozee via fpc-devel wrote: Sent: Wednesday, October 18, 2023 at 2:17 AM From: "Mattias Gaertner via fpc-devel" To: fpc-devel@lists.freepascal.org Let's see if I got this right: You installed the debs and then installed a new compiler, effectively replacing deb

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread Tomas Hajny via fpc-devel
On 2023-10-17 15:34, robert rozee via fpc-devel wrote: . . The problem is that the debs install a version (Makefile.compiled files) that is blind for changes to the compiler. If you need a custom compiler, you need to compile lazarus yourself too, either clone it yourself with git or use

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread robert rozee via fpc-devel
Sent: Wednesday, October 18, 2023 at 2:17 AM From: "Mattias Gaertner via fpc-devel" To: fpc-devel@lists.freepascal.org > Let's see if I got this right: > You installed the debs and then installed a new compiler, effectively > replacing deb files. > > The problem is that the debs install a version

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread Mattias Gaertner via fpc-devel
On 17.10.23 14:37, robert rozee via fpc-devel wrote: Sent: Wednesday, October 18, 2023 at 1:13 AM From: "Mattias Gaertner via fpc-devel" What packages are listed in the project inspector? you mean for my test application when it is opened in the Lazarus IDE? Files project1.lpr

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread robert rozee via fpc-devel
Sent: Wednesday, October 18, 2023 at 1:13 AM From: "Mattias Gaertner via fpc-devel" > What packages are listed in the project inspector? you mean for my test application when it is opened in the Lazarus IDE? Files project1.lpr unit1.pas Required Packages LCL i would strongly

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread Mattias Gaertner via fpc-devel
On 17.10.23 13:17, robert rozee via fpc-devel wrote: [...] i next rebuilt the compiler, RTL, etc using Fred vS's shell script: #!/bin/sh COMPILER=fpc make clean make all FPC=$COMPILER OPT="-Fl/usr/local/lib" make FPC=$COMPILER install INSTALL_PREFIX=/usr/ NOW, the test application FAILS TO

Re: [fpc-devel] fnmatch (linux), where is the external code/symbol located?

2023-10-17 Thread Tomas Hajny via fpc-devel
On 2023-10-17 13:46, robert rozee via fpc-devel wrote: Op 17-10-2023 om 13:17 schreef robert rozee via fpc-devel: Date: Tue, 17 Oct 2023 09:32:16 +0200 From: Marco van de Voort (1) installing a new compiler, possibly erasing a release (-Ur) compiler with one that isn't. (2) modifying

[fpc-devel] fnmatch (linux), where is the external code/symbol located?

2023-10-17 Thread robert rozee via fpc-devel
Op 17-10-2023 om 13:17 schreef robert rozee via fpc-devel: > Date: Tue, 17 Oct 2023 09:32:16 +0200 > From: Marco van de Voort > (1) installing a new compiler, possibly erasing a release (-Ur) compiler > with one that isn't. > (2) modifying LCL source. >> reversing the edit, rebuilding the

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread Marco van de Voort via fpc-devel
Op 17-10-2023 om 13:17 schreef robert rozee via fpc-devel: Date: Tue, 17 Oct 2023 09:32:16 +0200 From: Marco van de Voort - without the patches you are reviewing it works all fine, suggesting a problem in those patches that somehow forces linking to the symbol without it being used. and

Re: [fpc-devel] fnmatch (linux), where is the external

2023-10-17 Thread robert rozee via fpc-devel
Date: Tue, 17 Oct 2023 09:32:16 +0200 From: Marco van de Voort > - without the patches you are reviewing it works all fine, suggesting a > problem in those patches that somehow forces linking to the symbol > without it being used. to dispel any doubt, i've just created a new Linux Mint 21.2

Re: [fpc-devel] fnmatch (linux), where is the external code/symbol located?

2023-10-17 Thread Thorsten Otto via fpc-devel
On Dienstag, 17. Oktober 2023 09:32:16 CEST Marco van de Voort via fpc-devel wrote: > so the symbol "fnmatch" is NOT resolving to a match in "libc.so.6" where one > would normally expect to find fnmatch defined Usually, it is: $ nm -D /lib64/libc.so.6 | grep fnmatch 000e493e T fnmatch

Re: [fpc-devel] fnmatch (linux), where is the external code/symbol located?

2023-10-17 Thread Marco van de Voort via fpc-devel
Op 16-10-2023 om 17:03 schreef robert rozee via fpc-devel: function fnmatch( ... ) ... external; function fnmatch( ... ) ... external 'libc'; both yield a compiler that, while capable of compiling a working terminal application, can NOT compile a (gtk2) GUI application. so the symbol

[fpc-devel] fnmatch (linux), where is the external code/symbol located?

2023-10-17 Thread robert rozee via fpc-devel
when rebuilding FPC (version 3.2.2, Lazarus 2.2.6, "x86_64-linux-gtk2") from sources, the compiler processes the symbol "fnmatch" that is 'paired' with the library "libgtk-x11-2.0.so". i have traced this back to the source file /usr/share/fpcsrc/3.2.2/packages/gtk2/src/gtk+/gtk/fnmatch.pas and