Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2015-08

Bootstrapping on Mac

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

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:

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.

Jonas Maebe
to Torsten Bonde Christiansen
Torsten Bonde Christiansen wrote
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)

The only supported/hassle-free way to bootstrap FPC (on any platform) is by starting from a complete installation of the latest FPC release (e.g. using the installer on our website).

The bootstrap binaries are used by some package systems that build from source, but require detailed knowledge of the FPC build process to use and are completely unsupported.

Jonas

Torsten Bonde Christiansen
to Jonas Maebe
Jonas Maebe wrote 11 lines
On 19/08/15 13:41, Torsten Bonde Christiansen wrote: > 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) The only supported/hassle-free way to bootstrap FPC (on any platform) is by starting from a complete installation of the latest FPC release (e.g. using the installer on our website). The bootstrap binaries are used by some package systems that build from source, but require detailed knowledge of the FPC build process to use and are completely unsupported.

Ok, thanks - I had hoped for the simple sollution, but I will go with the full install.

-Torsten.