Recent

Author Topic: [SOLVED] How to see the FPC revision number?  (Read 996 times)

Hartmut

  • Sr. Member
  • ****
  • Posts: 357
Re: How to see the FPC revision number?
« Reply #15 on: January 02, 2020, 11:22:49 am »
I'm impressed how many more answers and ideas I got from you. Thank you very much to all for your help. I will read it all and work through in detail to learn more. As far as I could see from the 1st view, I have now several good solutions:
 - the "svn info" command from MarkMLl
 - I can run "svnversion" in /opt/lazarus_206b/fpcsrc/ (that works, I before used only the wrong folder)
 - the next version of fpcupdeluxe will include the revision (thanks DonAlfredo)
 - if I sometime want to include the FPC revision# into my compiled binary I have detailed instructions from wp including a demo (many thanks to wp)

julkas

  • Hero Member
  • *****
  • Posts: 537
  • KISS principle / Lazarus 2.0.6 / FPC 3.0.4
Re: How to see the FPC revision number?
« Reply #16 on: January 25, 2020, 02:44:37 pm »
Do you mean, that FPC itself has to be recompiled with REVINC=1?
Yes.
Trunk build on Win32 with REVINC=1 fails.
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;