Compiling programs for ARM ?
Ian Lance Taylor
iant@google.com
Mon Mar 5 05:00:00 GMT 2012
Jason White <whitewaterssoftwareinfo@gmail.com> writes:
> Short Version: Hello, I'm trying to get started with an ARM processor with
> the GCC compiler. Does anyone have any tips as for getting compiled
> programs to run on the target processor ? (Can you just plop the output
> of gcc straight into an arm processor ?)
It depends on what OS the ARM processor is running.
> Long Version: I have a STM32F103 processor on a development board,
> I am trying to get my compiled programs to run on it. However all it does
> is play dead with GCC's output. I am using the `arm-linux-gnueabi`
> package from the ubuntu repository.
If the ARM processor is running some version of GNU/Linux, then, yes,
you should be able to just copy a binary built with that compiler over
to the ARM board and run it.
Ian
More information about the Gcc-help
mailing list