Jump to content

Compile C Programs on MKV


sud0nick

Recommended Posts

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 by sud0nick
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...