[fpc-devel] Changes in Makefile-system

Marco van de Voort marcov at stack.nl
Mon Apr 4 11:06:43 CEST 2011


In our previous episode, Vincent Snijders said:
> > Hi all,
> >
> > I've just committed a change in the Makefiles for the fcl-web package.
> > The Makefile now calls fpmake to build and install the package.
> >
> > It's a first test, so please try and report any problems you have when
> > building the fcl-web package. (Or all packages, or just a complete
> > fpc-checkout) I'll try to fix them as soon as possible.
> >
> 
> Cross compiling is broken, the crosscompiler is used to compile fpmake
> and the resulting fpmake is not for the host but the target os/cpu.

For me normal win32 building doesn't even work.

I suspect setting -O- in the OPTS is the cause for this, fpmake transforming
that into a -o <no param> or so.

make[3]: Entering directory `d:/repo/fpc/packages/fcl-web'
d:/repo/fpc/compiler/ppc386.exe fpmake.pp -Ur -Xs -O2 -n
-Fud:/repo/fpc/rtl/units/i386-win32
-Fud:/repo/fpc/packages/hash/units/i386-win32
-Fud:/repo/fpc/packages/paszlib/units/i386-win32
-Fud:/repo/fpc/packages/fcl-process/units/i386-win32
-Fud:/repo/fpc/packages/fpmkunit/units/i386-win32 -FE.
-FUunits/i386-win32 -O-gl -dUse_MINGW_GDB -di386 -dRELEASE
./fpmake build --localunitdir=../.. --globalunitdir=.. --os=win32 --cpu=i386
-o -Ur -o -Xs -o -O2 -o -n -o -Fud:/repo/fpc/rtl/units/i386-win32 -o
-Fud:/repo/fpc/packages/hash/units/i386-win32 -o
-Fud:/repo/fpc/packages/paszlib/units/i386-win32 -o
-Fud:/repo/fpc/packages/fcl-process/units/i386-win32 -o
-Fud:/repo/fpc/packages/fpmkunit/units/i386-win32 -o -FE. -o
-FUunits/i386-win32 -o -O-o -gl -o -dUse_MINGW_GDB -o -di386 -o
-dRELEASE --compiler=d:/repo/fpc/compiler/ppc386.exe -o "-XX
-CX"
'.' is not recognized as an internal or external command,
operable program or batch file.
make[3]: *** [smart] Error 1
make[3]: Leaving directory `d:/repo/fpc/packages/fcl-web'
make[2]: *** [fcl-web_smart] Error 2
make[2]: Leaving directory `d:/repo/fpc/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `d:/repo/fpc'
make: *** [build-stamp.i386-win32] Error 2



More information about the fpc-devel mailing list