(01-13-2017, 09:45 PM)Deak Phreak Wrote: It takes a lot of work, especially if you don't really know what you are doing. That is why I ended up giving up. Had too many other things to do and was taking to much of my time. If I get around to it, I can look up to see if I still have my VM image and see if buildroot is still on it if I do.

Okay. I suppose I should start small, then, probably by actually learning C. Not that that's very small itself, but I suppose it shouldn't be too hard... That is, if I don't skip to the end of the hypothetical guide.

After a while, I managed to get a simple "hello world" to compile... or so I think. The program compiles, but does it really work? The program runs fine on the computer, but I'm not sure it should be able to do that, since I presume it's been cross-compiled for ARM (and my PC is x86_64). It also compiled and ran fine when I had the GCC location wrong, which is a bit worrying. Once it's finished compressing, I'll attach the source files for my program; you'll probably be able to figure out where I have my Buildroot set up.

EDIT: Decided to only upload my "hello world" program, since the Buildroot environment is quite large, of course.

Attached is the source to my simple Toggle Developer app, testing app and Doom launcher app that loads before the game. I hope this helps. I won't be online for about a week or two FYI.

Oh, thanks so much! After running the "export" command, things started compiling properly. I don't understand much of the source code, but I hope to eventually be able to.
I can't wait to compile several variations of "hello world". Now, the next step is figuring out how to actually run these things...