Re: [fpc-devel] Cocoa and NOT relocatable

2023-06-08 Thread Giuliano Colla via fpc-devel
Il 08/06/23 18:40, Martin Frb via fpc-devel ha scritto: It seems that on Cocoa an exe is by default relocatable. At least a basic test shows that dumping a stack at runtime for each run (no new compile) gives new addresses. Fpc 3.2.2 Is there a way to turn this off? (some flag to pass to the

Re: [fpc-devel] Cocoa and NOT relocatable

2023-06-09 Thread Giuliano Colla via fpc-devel
Il 08/06/23 20:33, Martin Frb via fpc-devel ha scritto: Great... Yes, it is an important security feature. But a show stopper for people who need to debug. https://forum.lazarus.freepascal.org/index.php/topic,63571.0.html 1) Afaik, FPC still can't resolve addresses with -gl (the line info un

Re: [fpc-devel] Alignment issue on macOS 13 with Xcode 15 and up

2023-10-11 Thread Giuliano Colla via fpc-devel
Il 04/10/23 12:19, Karl-Michael Schindler via fpc-devel ha scritto: With the command line tools of Xcode 14 it runs through without any warning nor error. Would a patch from this commit (https://gitlab.com/freepascal.org/fpc/source/-/blob/82dd70e72f3ab33b1b8737f743e1cdd009d9c8a1/compiler/x86_6

[fpc-devel] Lazarus/fpc on Apple store. Crazy Idea or smart move?

2024-02-23 Thread Giuliano Colla via fpc-devel
Hi fpc developers. On my Mac I tested the UTM virtualization, and I stumbled in that sentence from UTM website: UTM is and always will be completely free and open source. The Mac App Store version is identical to the free version and there are no features left out of the free version. The on

[fpc-devel] FPImage to LCL. How to do it?

2025-02-24 Thread Giuliano Colla via fpc-devel
I have an application where I need to rotate an image for displaying in an LCL image. The image is a clock face, the image to rotate is each of the hands. I can get the bitmap from the source LCL image, and copy the rectangle from the LCL image canvas to the FPImage canvas. I can rotate it, but

Re: [fpc-devel] FPImage to LCL. How to do it?

2025-02-25 Thread Giuliano Colla via fpc-devel
Thanks a lot, Mattias. I had to struggle a bit with widgetsets because each one had some problems. I'm on Linux, and at the end the Qt WS (i.e. Qt4) is the only one with gives an acceptable result, with the only problem of a little memory leakage I've not been able to get rid of. But finally I