sud0nick Posted April 27, 2015 Share Posted April 27, 2015 (edited) I haven't been able to find a way to compile C programs on the MKV yet and am wondering if anyone else has done it. Opkg has make in the repository but it doesn't do me any good without being able to point the Makefile to a compiler. I've looked up how to compile on another system and set the target to an ARM based architecture but I'm honestly lost when it comes to toolchains. Any advice would be greatly appreciated. Edit: I may have just found something useful here called CrossTool. I'm trying it now and if I can get a C program compiled properly before anyone else brings forth a solution I will attempt to build a how-to guide on it. Edited April 27, 2015 by sud0nick Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted April 27, 2015 Share Posted April 27, 2015 Hey sud0nick, Check out our wiki. It explains how to compile a firmware / build packages. Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
sud0nick Posted April 27, 2015 Author Share Posted April 27, 2015 I can't believe I missed that. Thanks, Seb. Quote Link to comment Share on other sites More sharing options...
sud0nick Posted April 28, 2015 Author Share Posted April 28, 2015 Seb, is it really necessary to rebuild the whole firmware just to compile a single program? I assume it's building the toolchain in this process which is why it must be done. Also, I get errors randomly when following the wiki. I've successfully built the example-package but I feel it was a stroke of luck because I kept receiving errors, couldn't find anything I was doing wrong, then it magically worked. I'm trying to find a process that consistently works so I can write up a quick tutorial. I feel the wiki needs a little more information. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.