Cross Compiling to Windows CE - ARM lazarus / 35-Windows CE ---------------------------------------------------------------------- Anderson Tomkelski · 2015-09-24 13:01 Hi I need cross compiling to ARMV5, but if I set target processor like ARMV5 doesn't work. What can I do? Should I install something to ARMV5? Thank you guys. ---------------------------------------------------------------------- vincococka · 2015-09-24 13:16 Hi Thomas, 1, if not already installed, please install cross compiler for ARM (e.g. for Windows its file available on SourceForge: lazarus-1.4.2-fpc-2.6.4-cross-arm-wince-win32.exe). 2, send here output from "Messages" window. ---------------------------------------------------------------------- Anderson Tomkelski · 2015-09-24 13:28 Thank you Vinco. The cross compiler for ARM is installed The error is: project1.lpr(22,0) Error: Error while assembling exitcode 1 The project is a button. Only test of cross compiling ---------------------------------------------------------------------- vincococka · 2015-09-24 14:09 Please set "Processor target" to "default" in Project Options (not "armv5"). Try to build and run, and if it works enjoy and have fun . ---------------------------------------------------------------------- Anderson Tomkelski · 2015-09-24 14:18 It's work but, don't run into device :/ Any target processor work, if I don't set, compiling but doesn't run into device ---------------------------------------------------------------------- vincococka · 2015-09-24 14:21 What device do you have ? ---------------------------------------------------------------------- Laksen · 2015-09-24 14:25 How does it not work? Does it crash or does nothing happen. If the last then make sure that the form Left and Top are set to zero ---------------------------------------------------------------------- Anderson Tomkelski · 2015-09-24 14:27 I have a colibri vf61 - sorry I said ARMv5 but is ARM Cortex-M4 and ARM Cortex-A5. This - https://www.toradex.com/computer-on-modules/colibri-arm- family/freescale-vybrid-vf6xx ---------------------------------------------------------------------- Anderson Tomkelski · 2015-09-24 14:29 It Nothing happen. How I can see this (Left and Top are set to zero)? Lasken ---------------------------------------------------------------------- vincococka · 2015-09-24 14:35 See "Object Inspector" when you click on form, then you`ll see Left and Top properties ... set`em to 0. ---------------------------------------------------------------------- Anderson Tomkelski · 2015-09-24 14:38 I set 0 but don't work, in task bar nothing appears. ---------------------------------------------------------------------- Laksen · 2015-09-24 15:16 Cortex A5 is an ARMv7A. Windows CE only supports ARMv4I (ARMv4T) and ARMv7I (ARMv7A) as far as I understand. Try adding -Cparmv4t in Project Options->Other->Custom Options for your project ---------------------------------------------------------------------- Anderson Tomkelski · 2015-09-25 11:23 It's return: Illegal parameter: -CpARMV7A Thanks, for "Cortex A5 is an ARMv7A. Windows CE only supports ARMv4I (ARMv4T) and ARMv7I (ARMv7A)" this about ARM, I did not know. I would suffer very kkkk ---------------------------------------------------------------------- marcov · 2015-09-25 11:54 Quote from: Anderson Tomkelski on September 25, 2015, 01:23:28 pmIt's return: Illegal parameter: -CpARMV7A Thanks, for "Cortex A5 is an ARMv7A. Windows CE only supports ARMv4I (ARMv4T) and ARMv7I (ARMv7A)" this about ARM, I did not know. I would suffer very kkkk 2.6.4 does not have armv6+7 support. ---------------------------------------------------------------------- Anderson Tomkelski · 2015-09-25 12:46 Ahhh Is there any version? Where I can compile this