[fpc-pascal] Bootstrapping on Mac
Torsten Bonde Christiansen
tc at epidata.info
Wed Aug 19 13:41:07 CEST 2015
Hi List.
I'm trying to build the compiler (svn checkout) from scratch using the
bootstrapper binary "ppcuniversal"
on a MAC running Mavericks (OS 10.9.x)
I start the buildprocess with the following line:
make all PP=~/Downloads/ppcuniversal CPU_TARGET=i386 OS_TARGET=darwin
OPT="-gl -gw -godwarfsets -O-"
(just for record, changing/removing the OPT does not help)
The build process is fine until at some point where i get the following
error:
/Users/torsten/FreePascal/release_2_6_4/compiler/ppcross386 -Pi386 -Ur
-Xs -O2 -n -S2h
-Fu/Users/torsten/FreePascal/release_2_6_4/rtl/units/i386-darwin
-Fu/Users/torsten/FreePascal/release_2_6_4/packages/fcl-base/units/i386-darwin
-Fu/Users/torsten/FreePascal/release_2_6_4/packages/iconvenc/units/i386-darwin
-Fu/Users/torsten/FreePascal/release_2_6_4/packages/fcl-xml/units/i386-darwin
-Fu/Users/torsten/FreePascal/release_2_6_4/packages/fcl-passrc/units/i386-darwin
-Fu/Users/torsten/FreePascal/release_2_6_4/packages/fcl-process/units/i386-darwin
-Fu/Users/torsten/FreePascal/release_2_6_4/packages/chm/units/i386-darwin -Fu/Users/torsten/FreePascal/release_2_6_4/packages/univint/units/i386-darwin
-FE. -FUunits/i386-darwin -gl -gw -godwarfsets -O- -di386 -dRELEASE
fpclasschart.pp
/Library/Developer/CommandLineTools/usr/bin/make -C fpcmkcfg all
__missing_command_DATA2INC -b -s fppkg.cfg fppkg.inc fppkg
make[3]: __missing_command_DATA2INC: No such file or directory
make[3]: *** [fppkg.inc] Error 1
make[2]: *** [fpcmkcfg_all] Error 2
make[1]: *** [utils_all] Error 2
make: *** [build-stamp.i386-darwin] Error 2
I assume the problem here is that the program data2inc is missing, but I
thought that it was built in the process and
that the location was/is automatically passed during the build. The
data2inc program IS available in the directory ./utils/
which can be seen here:
torsten at torstens-mini:~/FreePascal/release_2_6_4$ find . -iname "data2inc*"
./utils/data2inc
./utils/data2inc.exm
./utils/data2inc.pp
./utils/units/i386-darwin/data2inc.o
So am I doing something wrong when bootstrapping or is the somehow a bug
related to the makefiles?
kind regards,
Torsten.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150819/2ec967d9/attachment.html>
More information about the fpc-pascal
mailing list