Article 501V9 help with cross compile example command/setup for helloworld.c

help with cross compile example command/setup for helloworld.c

by
badbetty
from LinuxQuestions.org on (#501V9)
Good morning (here) folks,

I am frustrated with myself at not sorting this.

I have not post the simple helloworld.c code (unless someone asks me to).

Having built and installed the newlib, arm-gcc, arm-binutils (and arm-gdb) SlackBuilds, on a slack 14.2 64 fully updated system, please someone post by reply a full 'arm-none-eabi-gcc' command to compile a helloworld.c program please ?

No matter what I try, it wont compile without errors (many again not posted for simplicity) which I suspect are linking errors etc (sorry I am just learning at the moment), but it seems such a simple program and that a lot of internet posts seem to suggest should just 'work'... but it cant be that simple obviously and seems to need something adding to the 'toolchain' or references to libraries in the arm-...-gcc command (other than the above I've installed).

Sorry for asking for such a simple hand-holding.

Thank you
Habslatest?d=yIl2AUoC8zA latest?i=IjamVek8ytk:tI7k4v3TQ_A:F7zBnMy latest?i=IjamVek8ytk:tI7k4v3TQ_A:V_sGLiP latest?d=qj6IDK7rITs latest?i=IjamVek8ytk:tI7k4v3TQ_A:gIN9vFwIjamVek8ytk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments