Recent

Author Topic: Does ReadComponentRes function work correctly.  (Read 1128 times)

PascalDragon

  • Hero Member
  • *****
  • Posts: 2434
  • Compiler Developer
Re: Does ReadComponentRes function work correctly.
« Reply #15 on: May 27, 2020, 09:50:42 am »
For this I assume that your Lazarus is installed as C:\Lazarus\2.0.8, adjust this to your paths accordingly.

  • Download the FPC release build environment for 3.0.4 from here (the file is fpcbuild-3.0.4.zip)
  • Extract the build environment (for this example I assume C:\FPC\fpcbuild-3.0.4)
  • Apply the changes from r45479; the source is found in fpcsrc
  • Open a command line window in the directory C:\FPC\fpcbuild-3.0.4
  • Execute make install NOGDB=1 INSTALL_PREFIX=C:\FPC\3.0.4 (for this example I simply assume that you install C:\FPC\3.0.4, but you can pick your own destination, but do not use the directory with the existing FPC in Lazarus just in case something goes wrong)
  • Copy C:\Lazarus\2.0.8\fpc\3.0.4\bin\<CPU>-<OS>\fpc.cfg to C:\FPC\3.0.4\bin\<CPU>-<OS>\fpc.cfg and inside that file search and replace all paths from C:\Lazarus\2.0.8\fpc\3.0.4 to C:\FPC\3.0.4
  • Point Lazarus to the new FPC binary in C:\FPC\3.0.4\bin\<CPU>-<OS>\fpc.exe and change the sources directory as well
  • You should now be able to use your recompiled FPC 3.0.4 release

S_Gur

  • Newbie
  • Posts: 4
Re: Does ReadComponentRes function work correctly.
« Reply #16 on: May 27, 2020, 11:46:30 am »
Thank you very much for the detailed instructions. Everything worked out

 

TinyPortal © 2005-2018