[fpc-devel] Changes in Makefile-system
Vincent Snijders
vincent.snijders at gmail.com
Mon Apr 4 11:00:53 CEST 2011
2011/4/1 Joost van der Sluis <joost at cnoc.nl>:
> 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.
c:/lazarus/source/fpcbuild/trunk/fpcsrc/compiler/ppcrossarm.exe
-Twince -Parm -XParm-wince- -Xr -Ur -Xs -O2 -n -S2h
-FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/rtl/units/arm-wince
-FDc:\lazarus\source\binutils\arm-wince -FE. -FUunits/arm-wince -darm
-dRELEASE src/fastcgi.pp
make.exe[2]: Leaving directory
`C:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fastcgi'
c:/lazarus/source/fpcbuild/trunk/install/binw32/make.exe -C fcl-web all
make.exe[2]: Entering directory
`C:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fcl-web'
c:/lazarus/source/fpcbuild/trunk/fpcsrc/compiler/ppcrossarm.exe
fpmake.pp -Twince -Parm -XParm-wince- -Xr -Ur -Xs -O2 -n
-FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/rtl/units/arm-wince
-FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/hash/units/arm-wince
-FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/paszlib/units/arm-wince
-FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fcl-process/units/arm-wince
-FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fpmkunit/units/arm-wince
-FDc:\lazarus\source\binutils\arm-wince -FE. -FUunits/arm-wince -darm
-dRELEASE
./fpmake build --localunitdir=../.. --globalunitdir=.. --os=wince
--cpu=arm -o -Twince -o -Parm -o -XParm-wince- -o -Xr -o -Ur -o -Xs -o
-O2 -o -n -o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/rtl/units/arm-wince
-o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/hash/units/arm-wince
-o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/paszlib/units/arm-wince
-o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fcl-process/units/arm-wince
-o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fpmkunit/units/arm-wince
-o -FDc:\lazarus\source\binutils\arm-wince -o -FE. -o
-FUunits/arm-wince -o -darm -o -dRELEASE
--compiler=c:/lazarus/source/fpcbuild/trunk/fpcsrc/compiler/ppcrossarm.exe
process_begin: CreateProcess(C:\lazarus\source\fpcbuild\trunk\fpcsrc\packages\fcl-web\fpmake.exe,
./fpmake build --localunitdir=../.. --globalunitdir=.. --os=wince
--cpu=arm -o -Twince -o -Parm -o -XParm-wince- -o -Xr -o -Ur -o -Xs -o
-O2 -o -n -o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/rtl/units/arm-wince
-o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/hash/units/arm-wince
-o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/paszlib/units/arm-wince
-o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fcl-process/units/arm-wince
-o -FuC:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fpmkunit/units/arm-wince
-o -FDc:\lazarus\source\binutils\arm-wince -o -FE. -o
-FUunits/arm-wince -o -darm -o -dRELEASE
--compiler=c:/lazarus/source/fpcbuild/trunk/fpcsrc/compiler/ppcrossarm.exe,
...) failed.
make (e=193): Error 193make.exe[2]: *** [all] Error 193
make.exe[2]: Leaving directory
`C:/lazarus/source/fpcbuild/trunk/fpcsrc/packages/fcl-web'
make.exe[1]: *** [fcl-web_all] Error 2
Vincent
More information about the fpc-devel
mailing list