> On Aug 11, 2023, at 11:24 AM, Darius Blaszyk via fpc-pascal
> wrote:
>
> Quick question for you all. Has anyone here worked with Visual Studio Code
> for Free Pascal? I've got the Free Pascal Toolkit plugin up and running, but
> I'm hitting a bit of a roadblock with setting up GDB debuggin
On Fri, 11 Aug 2023, Darius Blaszyk via fpc-pascal wrote:
Quick question for you all. Has anyone here worked with Visual Studio
Code for Free Pascal? I've got the Free Pascal Toolkit plugin up and
running, but I'm hitting a bit of a roadblock with setting up GDB
debugging. After installing
Quick question for you all. Has anyone here worked with Visual Studio Code for
Free Pascal? I've got the Free Pascal Toolkit plugin up and running, but I'm
hitting a bit of a roadblock with setting up GDB debugging. After installing
GDB Debugger - Beyond I still cant debug my app upon setting a
> On Aug 10, 2023, at 11:37 PM, Michael Van Canneyt via fpc-pascal
> wrote:
>
> This is a very dirty trick to get the offset of a field in a record.
>
> Note that you're not dereferencing a type but a variable of type TAlignCheck
> located
> at memory address zero. The address of w (this is
Hi all
I'd like to get some clarification about "volatile" intrinsic.
https://wiki.freepascal.org/FPC_New_Features_Trunk#Support_for_.22volatile.22_intrinsic
says just following:
Support for "volatile" intrinsic
Overview: A volatile intrinsic has been added to indicate to the code
generato
On 10/08/2023 23:27, Benito van der Zander via fpc-pascal wrote:
i tried to run my program under LLVM (from july fpc) and it crashes?
Program received signal SIGSEGV, Segmentation fault.
0x0042e5f1in SYSTEM_$$_SYSGETMEM_FIXED$QWORD$$POINTER()
(gdb) bt
#0 0x0042e5f1in SYSTEM_$$_S
On 10/08/2023 17:06, Benito van der Zander via fpc-pascal wrote:
I tried to use the LLVM Link-Time-Optimization, -Clflto
I should update the wiki page. Under Debian 11, I can tell FPC to use
gold with lto by specifying the following command line parameters:
-Clflto -Clflto-no-system -k-fuse-l
On 8/11/23 01:23, Hairy Pixels via fpc-pascal wrote:
On Aug 10, 2023, at 2:18 PM, Michael Van Canneyt via
fpc-pascal wrote:
https://www.freepascal.org/docs-html/current/ref/refse15.html#x42-620003.4
This document doesn't really do a great enumerating all the operators so I'm
not sure if t
Hallo,
I tried to use the LLVM Link-Time-Optimization, -Clflto
I compiled/installed fpc llvm with a separate prefix, which was already
difficult to set up
Then the default linker did not want to link it.
The wiki says to use the gold linker. I do not know how to change the
linker in fpc.cfg