Alexsander Rosa wrote: > BTW, how do you customize your script? > I've tried this but the "make all" failed: > http://wiki.lazarus.freepascal.org/Cross_compiling#To_Linux
Sorry, I only realized now, that you meant the FPC compiler itself. Here is what I have, runing on 64-bit Ubuntu system. I'm using the FPC 2.2.5 i386 compiler because the 64-bit compiler can only target 64-bit systems. The i386 compiler can target 32bit and 'Linux for x64_6432' -------------------------- $ cat start-stable32.sh make all CPU_TARGET=i386 PP=/opt/fpc_2.2.5/bin/ppc386 make install INSTALL_PREFIX=/opt/fpc_2.3.1/i386-linux/ \ CPU_TARGET=i386 PP=/opt/fpc_2.2.5/bin/ppc386 -------------------------- $ cat start-stable32-crosswin32.sh make all OS_TARGET=win32 CPU_TARGET=i386 PP=/opt/fpc_2.2.5/bin/ppc386 make crossinstall OS_TARGET=win32 CPU_TARGET=i386 \ INSTALL_PREFIX=/opt/fpc_2.3.1/crossi386-win32 CPU_TARGET=i386 \ PP=/opt/fpc_2.2.5/bin/ppc386 Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
