Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-22 Thread Pierre Muller via fpc-pascal
Le 22/08/2022 à 18:18, Henry Vermaak via fpc-pascal a écrit : On Sun, 21 Aug 2022 at 18:34, Anthony Walter via fpc-pascal wrote: I am also able to use mingw32 gcc to compile this same C source into a static library for Windows using these two commands while inside the folder containing the

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-22 Thread Henry Vermaak via fpc-pascal
On Sun, 21 Aug 2022 at 18:34, Anthony Walter via fpc-pascal wrote: > I am also able to use mingw32 gcc to compile this same C source into a static > library for Windows using these two commands while inside the folder > containing the Chipmunk2D sources: > > x86_64-w64-mingw32-gcc-win32 -static

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-22 Thread Karoly Balogh via fpc-pascal
Hi, On Mon, 22 Aug 2022, Anthony Walter via fpc-pascal wrote: > I know in the past I had been able to compile / link libraries created > with MinGW GCC on Windows. Parts of the problem also include determining > which other static dependencies to link IN ADDITION to the order of the > linking.

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-22 Thread Anthony Walter via fpc-pascal
Marco, The missing symbols change depending on the order and which libraries are referenced. But I have tried all sorts of combinations and widdled them down, but I can never get it to compile. I think it might be a problem with the internal linker as Karoly suggested because sometimes I can

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-22 Thread Marco van de Voort via fpc-pascal
On 22-8-2022 15:01, Anthony Walter via fpc-pascal wrote: I never thought about the linker changes to FPC and am probably using the internal one. I know in the past I had been able to compile / link libraries created with MinGW GCC on Windows. Parts of the problem also include determining

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-22 Thread Anthony Walter via fpc-pascal
I never thought about the linker changes to FPC and am probably using the internal one. I know in the past I had been able to compile / link libraries created with MinGW GCC on Windows. Parts of the problem also include determining which other static dependencies to link IN ADDITION to the order

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-22 Thread Karoly Balogh via fpc-pascal
Hi, On Sun, 21 Aug 2022, Anthony Walter via fpc-pascal wrote: > I will pay $100 to the first person that can solve my problem of linking > a compiled C static library to a Free Pascal program on Windows. I'm not an expert for FPC on Windows by any meanns, but I think I've ran into the problems