Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-14 Thread Sergey Organov via fpc-devel
Jonas Maebe via fpc-devel writes: > On 12/11/2021 20:33, Sergey Organov via fpc-devel wrote: >> Thanks, I believe I already do use -XR, here is entire compilation line: >> /opt/cross/br/arm/armv7a/6.2.0.v6/usr/lib/fpc/3.2.0/ppcrossarm -O3 >> -CX -XX -Xs -veibq -vw-n-h- -MDelphiUnicode -Sg -Sc >>

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-14 Thread Jonas Maebe via fpc-devel
On 12/11/2021 20:33, Sergey Organov via fpc-devel wrote: Thanks, I believe I already do use -XR, here is entire compilation line: /opt/cross/br/arm/armv7a/6.2.0.v6/usr/lib/fpc/3.2.0/ppcrossarm -O3 -CX -XX -Xs -veibq -vw-n-h- -MDelphiUnicode -Sg -Sc -XS -Tlinux -dCPU_ARM -Parm -CaEABIHF -XR/opt

Re: [fpc-devel] LLVM backend Pascal bindings?

2021-11-14 Thread Ryan Joseph via fpc-devel
> On Nov 14, 2021, at 4:58 PM, Jonas Maebe via fpc-devel > wrote: > > Afaik there's also a C binding (or at least there used to be one). There is some c bindings but they seem incomplete, or at least I couldn't figure out how to follow the tutorial using what was provided there. > >> How d

Re: [fpc-devel] LLVM backend Pascal bindings?

2021-11-14 Thread Jonas Maebe via fpc-devel
On 2021-11-14 05:58, Ryan Joseph via fpc-devel wrote: As a fun weekend project I wanted to follow along with the tutorial at https://llvm.org/docs/tutorial/index.html but I noticed the API in in C++ so it wouldn't be possible to do this in Pascal without at least some plain C API. Afaik there's