> >PPC_TARGET=arm? Is there any documentation on these > >parameters? The Build FAQ gives an example of building a compiler > >to run on another system. I want to build a compiler to run on my > >system that can build executables for another system. > > The commandline is correct. It will give you both a cross compiler > called ppcrossarm and a native compiler called ppcarm. > > The IE is a code generation bug. That needs to be debugged. You can > compile with OPT='-gl -dEXTDEBUG' to get a backtrace were the IE > happends in the compiler.
make[6]: Entering directory :/repo/fpcex/packages/extra/gtk/gtkgl' D:/repo/fpcex/compiler/ppcrossarm.exe -Tlinux -Parm -XParm-linux- -Xc -Xr -XX -C X -Ur -Xs -O2 -n -FuD:/repo/fpcex/rtl/units/arm-linux -FuD:/repo/fpcex/packages/ extra/x11/units/arm-linux -FuD:/repo/fpcex/packages/extra/opengl/units/arm-linux -FDd:\repo\cross\arm-linux -FE. -FUD:/repo/fpcex/packages/extra/gtk/units/arm-l inux -dEXTDEBUG -gl -darm -dRELEASE gtkglarea.pp D:\repo\fpcex\packages\extra\gtk\units\arm-linux\gtkglarea.sl d:\repo\cross\arm-linux\arm-linux-ar.exe: creating D:\repo\fpcex\packages\extra\ gtk\units\arm-linux\libpgtkglarea.a D:\repo\fpcex\packages\extra\gtk\units\arm-linux\gtkglarea.sl Max Memory used/heapsize: 13.791/14.592 Kb make[6]: Leaving directory :/repo/fpcex/packages/extra/gtk/gtkgl' make[5]: Leaving directory :/repo/fpcex/packages/extra/gtk' make[4]: Leaving directory :/repo/fpcex/packages/extra/gtk' make -C gtk2 smart make[4]: Entering directory :/repo/fpcex/packages/extra/gtk2' make all LINKSMART=1 CREATESMART=1 make[5]: Entering directory :/repo/fpcex/packages/extra/gtk2' d:/pp11/bin/i386-win32/gmkdir.exe -p units/arm-linux D:/repo/fpcex/compiler/ppcrossarm.exe -Tlinux -Parm -XParm-linux- -Xc -Xr -XX -C X -Ur -Xs -O2 -n -Fuglib -Fuatk -Fupango -Fugtk+/gdk-pixbuf -Fugtk+/gdk -Fugtk+/ gtk -Fulibglade -Fugtkglext -FuD:/repo/fpcex/rtl/units/arm-linux -FDd:\repo\cros s\arm-linux -FE. -FUunits/arm-linux -dEXTDEBUG -gl -darm -dRELEASE buildgtk2.pp units\arm-linux\glib2.sl d:\repo\cross\arm-linux\arm-linux-ar.exe: creating units\arm-linux\libpglib2.a units\arm-linux\glib2.sl units\arm-linux\atk.sl d:\repo\cross\arm-linux\arm-linux-ar.exe: creating units\arm-linux\libpatk.a units\arm-linux\atk.sl units\arm-linux\pango.sl d:\repo\cross\arm-linux\arm-linux-ar.exe: creating units\arm-linux\libppango.a units\arm-linux\pango.sl units\arm-linux\gdk2pixbuf.sl d:\repo\cross\arm-linux\arm-linux-ar.exe: creating units\arm-linux\libpgdk2pixbu f.a units\arm-linux\gdk2pixbuf.sl units\arm-linux\gdk2.sl d:\repo\cross\arm-linux\arm-linux-ar.exe: creating units\arm-linux\libpgdk2.a units\arm-linux\gdk2.sl gtkspinbutton.inc(267,4) Fatal: Internal error 200203271 $004DF30F SECONDPASS, line 175 of pass_2.pas $0049DA27 DO_GENERATE_CODE, line 1274 of psub.pas $0049DFD9 READ_DECLARATIONS, line 1584 of psub.pas $00447E2D COMPILE, line 422 of parser.pas $0049122A TPPUMODULE__LOADPPU, line 1411 of fppu.pas $00499C5F LOADUNITS, line 602 of pmodules.pas $0049A55A PROC_UNIT, line 918 of pmodules.pas $00447E2D COMPILE, line 422 of parser.pas $0041C985 COMPILE, line 375 of compiler.pas Fatal: Compilation aborted Max Memory used/heapsize: 33.348/34.304 Kb make[5]: *** [buildgtk2.ppu] Error 1 make[5]: Leaving directory :/repo/fpcex/packages/extra/gtk2' make[4]: *** [fpc_smart] Error 2 make[4]: Leaving directory :/repo/fpcex/packages/extra/gtk2' make[3]: *** [gtk2_smart] Error 2 make[3]: Leaving directory :/repo/fpcex/packages/extra' make[2]: *** [extra_smart] Error 2 make[2]: Leaving directory :/repo/fpcex/packages' make[1]: *** [packages_extra_smart] Error 2 make[1]: Leaving directory :/repo/fpcex' make: *** [build-stamp.arm-linux] Error 2 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal