PixL Posted December 23, 2017 Posted December 23, 2017 What is the general process to cross compile things for use on Pineapples and Squirrels? :) Quote
Just_a_User Posted December 23, 2017 Posted December 23, 2017 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/ Quote
i8igmac Posted December 23, 2017 Posted December 23, 2017 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? Quote
Foxtrot Posted December 23, 2017 Posted December 23, 2017 All instructions needed for cross compiling to OpenWRT are at https://wiki.openwrt.org/doc/devel/crosscompile Quote
PixL Posted December 23, 2017 Author Posted December 23, 2017 3 hours ago, Foxtrot said: All instructions needed for cross compiling to OpenWRT are at https://wiki.openwrt.org/doc/devel/crosscompile 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? Quote
Foxtrot Posted December 23, 2017 Posted December 23, 2017 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. Quote
PixL Posted December 23, 2017 Author Posted December 23, 2017 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? Quote
Foxtrot Posted December 23, 2017 Posted December 23, 2017 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. Quote
PixL Posted December 23, 2017 Author Posted December 23, 2017 Ok i'll have to devote a little time to getting the build root working, thanks for the advice. Quote
i8igmac Posted December 24, 2017 Posted December 24, 2017 I spent 30 minutes trying to compile openssl on the pi b+. Then the wife shut it down... all was lost... Quote
Forkish Posted January 2, 2018 Posted January 2, 2018 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 Quote
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.