I changed system_arm_linux_info.endian to endian_big in /pp/compiler/systems/i_linux.pas and then ran: make clean CPU_TARGET=arm CROSSINSTALL=1 (I think it cleans everything regardless of those, but just to be sure)
and then: make crossall CPU_TARGET=arm OS_TARGET=linux And it is busy compiling and assembling. However, I noticed the commands: /bin/mkdir -p /pp/rtl/units/arm-linux arm-linux-as -o /pp/rtl/units/arm-linux/prt0.o arm/prt0.as arm-linux-as -o /pp/rtl/units/arm-linux/dllprt0.o arm/dllprt0.as arm-linux-as -o /pp/rtl/units/arm-linux/cprt0.o arm/cprt0.as arm-linux-as -o /pp/rtl/units/arm-linux/gprt0.o arm/gprt0.as The command line options for arm-linux-as include: -mbig-endian and -mlittle-endian Shouldn't one of those be included, or does arm-linux-as also pick up endian information from some environment variable? _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
