[fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin
Adriaan van Os
fpc at microbizz.nl
Mon Jul 16 11:34:41 CEST 2007
Has anyone tried to build a Free Pascal Windows crosscompiler on an Intel Mac ? Is this supported ?
First I built and mingw binutils and then I tried
[p17:~/fpc-win32/fpc] adriaan% make all OS_TARGET=win32 CROSSBINDIR=/usr/bin
BINUTILSPREFIX=i686-ming32- INSTALL_PREFIX=/usr/local
make compiler_cycle RELEASE=1
make -C compiler cycle
make OS_TARGET=darwin CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOTSTRAP=1 rtlclean rtl
make -C /Users/adriaan/fpc-win32/fpc/rtl clean
/bin/rm -f fpcmade.i386-darwin Package.fpc ppas.sh script.res link.res
/bin/rm -f *.s *_ppas.sh
make -C darwin clean
.....
/bin/mkdir -p i386/units/i386-win32
/Users/adriaan/fpc-win32/fpc/compiler/ppcross386 -Twin32 -XPi686-ming32- -Xc -Xr -Ur -Xs -O2 -n
-Fui386 -Fusystems -Fu/Users/adriaan/fpc-win32/fpc/rtl/units/i386-win32 -Fii386 -FD/usr/bin -FE.
-FUi386/units/i386-win32 -dRELEASE -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas
Fatal: Can't find unit System used by pp
Fatal: Compilation aborted
make[3]: *** [ppc386.exe] Error 1
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.i386-win32] Error 2
Regards,
Adriaan van Os
More information about the fpc-pascal
mailing list