Hello to everybody,
I need to build a modified version of FPC 2.6.4 so I have downloaded the
/fpc/tags/release_2_6_4 svn tree, done my changes and started the build.
During the build that I start via
make all OS_TARGET=win32 CPU_TARGET=i386I get errors like the following
make[7]: Entering directory `C:/Temp/fpc/rtl/win32'
...
C:/Temp/itosac_installer/32bit/fpc/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/Temp/fpc/rtl/units/i386-win32 -di386 -dRELEASE ../inc/macpas.pp
make[7]: *** No rule to make target `iso7185.ppu', needed by `fpc_units'. Stop.
make[7]: Leaving directory `C:/Temp/fpc/rtl/win32'
make[6]: *** [win32_all] Error 2
make[6]: Leaving directory `C:/Temp/fpc/rtl'
make[5]: *** [rtl] Error 2
make[5]: Leaving directory `C:/Temp/fpc/compiler'
make[4]: *** [next] Error 2
make[4]: Leaving directory `C:/Temp/fpc/compiler'
make[3]: *** [ppc1.exe] Error 2
make[3]: Leaving directory `C:/Temp/fpc/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory `C:/Temp/fpc/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `C:/Temp/fpc'
make: *** [build-stamp.i386-win32] Error 2
I have looked at the Makefile and it is correct: there are no indications about how to build the iso7185, but if I copy the
rtl\inc files (where iso7185.pp is) inside the compiling directory
rtl\win32 it builds it and it goes on.
So, I think there is something missing in my environment.
If I do that manual copy, the compilation goes on, but later I will get errors on
packages\hash,
packages\pasjpeg, etc. and in those cases it works copying the
src files (i.e. copying
packages\hash\src inside
packages\hash).
I have tried to change or force some
-Fi,
-Fl,
-Fu and
-I parameters providing the
src,
win,
inc folders (with
..,
..\.., etc.) but without success.
Any suggestions about how to be able to build it without copying the files manually?
Thanks!