Dariusz Mazur schrieb: > Kjow pisze: >> 2009/12/15 <[email protected]>: >> >>> Should be >>> Target OS: Linux for ARMEL >>> >>> You have to recompile crosscompiller >>> Its not EABI (see my descuss with Jonas on fpc-devel) >>> >>> make crosssinstal OPT="-dFPC_ARMEL" ....... >>> >> >> This is the command that I used to make crosscompiler: >> >> sudo make crossinstall CPU_TARGET=arm OS_TARGET=linux >> CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/ CROSSOPT="-CaEABI >> > >> -dFPC_ARMEL -CfSOFT -gl -O-" INSTALL_PREFIX=/usr/ >> COMPILER_OPTIONS="cpufpemu" >> > > sudo make crossinstall CPU_TARGET=arm OS_TARGET=linux > CROSSBINDIR=/home/kjow/lazarus/fpc/binutils/ OPT="-dFPC_ARMEL" > CROSSOPT="-CaEABI -dFPC_ARMEL -CfSOFT -gl -O2" INSTALL_PREFIX=/usr/ > > > > add OPT, remove COMPILER_OPTIONS
Please, don't spread the nonsense of -CfSOFT -CaEABI, it's neither needed nor desired. -dFPC_ARMEL is enough. Neither is -dFPC_ARMEL needed in CROSSOPT. It is only needed when the first arm compiler is built and in this case OPT=-dFPC_ARMEL is enough. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
