[fpc-devel] make install into a cross-compiled unit hierarchy.
Peter Vreman
peter at freepascal.org
Thu May 18 08:09:20 CEST 2006
> I have a problem installing a third-party package using the fpcmake build
> system. I built a cross-compiler for WinCE including a > complete RTL
> for arm-wince. I now want to install a third-party package into an
> arm-wince unit hierarchy on a WindowsXP system. Make is assuming that you
> need to use a fpcmake in the arm-wince directory instead of using fpcmake
> in the i386-win32 version. This > is causing "make install" to fail.
> ===
> W:\Source\Indy\Indy10FPC\Lib>make install INSTALL_PREFIX=c:\lazarus\pp
> CPU_TARGE
> T=arm OS_TARGET=wince PP=ppcrossarm.exe
> make -C System all
> make[1]: Entering directory `W:/Source/Indy/Indy10FPC/Lib/System'
> make[1]: Leaving directory `W:/Source/Indy/Indy10FPC/Lib/System'
> make -C Core all
> make[1]: Entering directory `W:/Source/Indy/Indy10FPC/Lib/Core'
> make[1]: Leaving directory `W:/Source/Indy/Indy10FPC/Lib/Core'
> make -C Protocols all
> make[1]: Entering directory `W:/Source/Indy/Indy10FPC/Lib/Protocols'
> make[1]: Leaving directory `W:/Source/Indy/Indy10FPC/Lib/Protocols'
> make -C System install
> make[1]: Entering directory `W:/Source/Indy/Indy10FPC/Lib/System'
> c:/lazarus/pp/bin/arm-wince/fpcmake.exe -p -Tarm-wince Makefile.fpc
> process_begin: CreateProcess(c:\lazarus\pp\bin\arm-wince\fpcmake.exe,
> c:/lazarus
> /pp/bin/arm-wince/fpcmake.exe -p -Tarm-wince Makefile.fpc, ...) failed.
> make (e=193): Error 193make[1]: *** [fpc_install] Error 193
> make[1]: Leaving directory `W:/Source/Indy/Indy10FPC/Lib/System'
> make: *** [System_install] Error 2
> ===
> Does anyone have any ideas for installing the third-party units in
> the arm-wince unit hierarchy without using an arm-wince version of
> fpcmake (which probably would not work on a Win32 system). Thanks.
Use crossinstall or add CROSSINSTALL=1 to the Makefile commandline
More information about the fpc-devel
mailing list