I want to verify a fix from
https://bugs.freepascal.org/view.php?id=36068By the documentation in
https://freepascal.org/develop.html I could download Revision 42976 via SVN to h:\Progs\FPC\trunc\fpc\
Then I googled for how to compile FPC from there and found nothing helpful (if someone knows a link, please provide it).
So analog to how I compiled Lazarus from SVN (long time ago) I executed "H:\Progs\Lazarus\184\
fpc\3.0.4\bin\i386-win32\
make.exe all" in folder h:\Progs\FPC\trunc\fpc\ which seemed to work.
I found
fpc.exe in h:\Progs\FPC\trunc\fpc\compiler\utils\ but when I started it, I got:
Error: ppc386.exe can't be executed, error message: Failed to execute ""ppc386.exe" -?Fh:
\Progs\FPC\trunc\fpc\compiler\utils\fpc.exe ", error code: 2
I found
ppc386.exe in h:\Progs\FPC\trunc\fpc\compiler\ and was surprised, that both don't reside in the same folder, as I always had before.
I started "ppc386.exe d:\FPC\work\archiv\test2.pas" to compile my program but got
Fatal: Can't find unit system used by ProgramI saw, that
fpc.cfg did not exist anywhere. Is that normal? I would expect that it is created automatically...
Then I googled for how to create fpc.cfg and found
https://wiki.lazarus.freepascal.org/Configuration_file#CreateI tried to adapt it to my case and in folder "h:\Progs\FPC\trunc\fpc\compiler\" I excecuted "h:\Progs\FPC\trunc\fpc\utils\fpcmkcfg\bin\i386-win32\
fpcmkcfg.exe -d basepath=h:\Progs\FPC\trunc\fpc\ -o .\fpc.cfg" which created h:\Progs\FPC\trunc\fpc\compiler\fpc.cfg
In this folder I started "ppc386.exe d:\FPC\work\archiv\test2.pas" again but got the same Error
Fatal: Can't find unit system used by ProgramSo I think fpc.cfg was not created correctly (I attached it).
I'm a bloody beginner to SVN and makefiles. Does anybody know what I am doing wrong? Thanks in advance. I use Windows 7.