Jump to content

Cross compile binaries for OpenWRT systems using a Kali linux install?


Recommended Posts

Posted

I recently started to look with the intention to learn a little, I haven't done anything yet though.

I found some interesting resources/tools that may help with MIPS from x86 : -   https://wiki.openwrt.org/doc/howto/build   https://github.com/airplug/airplug/wiki/Cross-compiling-for-OpenWRT  http://www.kegel.com/crosstool/  & https://buildroot.org/

Posted
7 hours ago, Just_a_User said:

I recently started to look with the intention to learn a little, I haven't done anything yet though.

I found some interesting resources/tools that may help with MIPS from x86 : -   https://wiki.openwrt.org/doc/howto/build   https://github.com/airplug/airplug/wiki/Cross-compiling-for-OpenWRT  http://www.kegel.com/crosstool/  & https://buildroot.org/

That is a well written tutorial. I recently compiled a hi-world program and attempt to run on mips but failed as expected...

 

Can you setup a vm specifically for cross compiling?

Posted
2 minutes ago, PixL said:

Or could you simple install the build tools onto a tetra and use it for compiling binaries for both its self and also a packet squirrel?

You could compile on the device, but it would take too long.

Best way is to use the buildroot and cross-compile.

Posted
28 minutes ago, Foxtrot said:

You could compile on the device, but it would take too long.

Best way is to use the buildroot and cross-compile.

What about if I installed OpenWRT on a Raspberry Pi... I heard that was doable... then use the Pi as my little build machine?

Posted
8 minutes ago, PixL said:

What about if I installed OpenWRT on a Raspberry Pi... I heard that was doable... then use the Pi as my little build machine?

Still too slow imo. Using the build root is the correct way to do it, and will save you massive amounts of time.

  • 2 weeks later...
Posted
On 12/23/2017 at 11:34 PM, i8igmac said:

Then the wife shut it down... all was lost...

If Momma ‘aint happy, ‘aint nobody happy

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...