Re: [fpc-devel] ""make clean" builds ppc1 [[Re: Getting error building fpc for clang 16]]

2023-12-09 Thread Tomas Hajny via fpc-devel
9. prosince 2023 18:24:10 SEČ, Martin Frb via fpc-devel napsal: >On 09/12/2023 17:03, Martin Frb via fpc-devel wrote: >> Anyway, I changed the make >> make install INSTALL_PREFIX=/home/m/fpc/$INSTPATH/gw3  OPT=" -Clv16.0 " >> LLVM=1 >> >> Then next it fails, with the same error on >>    

[fpc-devel] ""make clean" builds ppc1 [[Re: Getting error building fpc for clang 16]]

2023-12-09 Thread Martin Frb via fpc-devel
On 09/12/2023 17:03, Martin Frb via fpc-devel wrote: Anyway, I changed the make make install INSTALL_PREFIX=/home/m/fpc/$INSTPATH/gw3  OPT=" -Clv16.0 " LLVM=1 Then next it fails, with the same error on     make clean Yes, it tries to compile a file while doing "make clean" Even

Re: [fpc-devel] Getting error building fpc for clang 16

2023-12-09 Thread Martin Frb via fpc-devel
On 09/12/2023 10:50, Jonas Maebe via fpc-devel wrote: On 07/12/2023 13:52, Martin Frb via fpc-devel wrote: I also looked for msg2inc. And msg2inc was compiled before Maybe check the timestamps of compiler/msg*.inc, compiler/utils/msg2inc.pp and compiler/msg/errore.msg. Perhaps some of those

Re: [fpc-devel] Wrong debug info when using clang backend

2023-12-09 Thread Adriaan van Os via fpc-devel
Jonas Maebe via fpc-devel wrote: On 09/12/2023 10:07, Adriaan van Os via fpc-devel wrote: Another question. Is there a way to put pragmas in fpc source code to be passed to CLang, eg. those mentioned here ? That would gain a lot, at little cost. No.

Re: [fpc-devel] Getting error building fpc for clang 16

2023-12-09 Thread Jonas Maebe via fpc-devel
On 07/12/2023 13:52, Martin Frb via fpc-devel wrote: I also looked for msg2inc. And msg2inc was compiled before Maybe check the timestamps of compiler/msg*.inc, compiler/utils/msg2inc.pp and compiler/msg/errore.msg. Perhaps some of those have timestamps far in the future? Jonas

Re: [fpc-devel] Wrong debug info when using clang backend

2023-12-09 Thread Jonas Maebe via fpc-devel
On 09/12/2023 10:07, Adriaan van Os via fpc-devel wrote: Another question. Is there a way to put pragmas in fpc source code to be passed to CLang, eg. those mentioned here ? That would gain a lot, at little cost. No. However, FPC command line

Re: [fpc-devel] Wrong debug info when using clang backend

2023-12-09 Thread Adriaan van Os via fpc-devel
Jonas, It's indeed easier, and it also supports some preprocessing that llc doesn't (I don't remember what exactly llc didn't support, perhaps comments). It's also faster since you call one tool rather than 2 or 3. Another question. Is there a way to put pragmas in fpc source code to be