title: How to compile program for Arm processor using MingW for Windows?
body: <p>I have a device that runs with Arm(Risc) CPU and I like to write program for it. Transferring binary to this device is easy but I cannot simply put com/exe files compiled in windows in this device.</p>
  
  <p>I don't have a clue how can I compile a program to generate an Risc processor bin file (byte order, stack and memory architecture).</p>
  
  <p>I am writing my code in C/C++ and I would like to know how can I compile for Arm/Risc?</p>
  
  <p>This device starts running bin file from position 0 of the file (I believe it is like com files for MS-Dos)</p>