I have some problem and need some help,
My system is Kubuntu 13.10 x64. and last svn fpc and lazarus.
My plan is, my project work on win32, win64 mac os too. I need cross compiler.
I readed this link and try cross compiling.
http://wiki.freepascal.org/Cross_compiling_for_Win32_under_Linux

this cmd line for fpc this is with out error and fpc is compiled
make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1 OS_TARGET=win32 CPU_TARGET=i386
su -c "make crossinstall OS_TARGET=win32 CPU_TARGET=i386"

but lazarus has probelem
this line is for IDE
make PREFIX=/opt clean all LCL_PLATFORM=qt bigide OPT="-dUSE_QT_45"

this line is for win32
make clean all OS_TARGET=win32 CPU_TARGET=i386
error is :
make -C packager/registration
make[1]:`/opt/lazarus/packager/registration' Entering directory
/bin/rm -f ../units/i386-win32/fcllaz.ppu
/bin/fpc -Twin32 -Pi386 -XPi386-win32- -Xr -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -Fu. -Fu/usr/local/lib/fpc/2.7.1/units/i386-win32/rtl -FE. -FU../units/i386-win32 -dUSE_QT_45 -di386 fcllaz.pas Error: ppc386 can't be executed, error message: Failed to execute "ppc386", error code: 127
make[1]: *** [fcllaz.ppu] error 1


same lineS for OS_TARGET=win64 CPU_TARGET=x86_64 fpc and lazarus is okey builded. where is my problem? or what is easy and right way for cross platform compiling?
thank you


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to