MrGadget Posted August 14, 2015 Share Posted August 14, 2015 Hello Guys, Got a LAN turtle at defcon and love it so far :D Now i was curious if you might post a tutorial on how to cross compile c code (originally running on 32-bit systems), so one could port some self coded projects to the LAN turtle. Should be possible, right? Keep up the good work and looking forward to future developments. Cheers MrGadget Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted August 14, 2015 Share Posted August 14, 2015 MrGadget - If it's a simple C file you can use the OpenWRT Toolchain to cross compile for the MIPS architecture. Download the Toolchain from https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/ In the toolchain bin dir you'll find various compilers. For example mips-openwrt-linux-uclibc-gcc.bin ~/helloworld.c -o helloworld would result in a helloworld file compiled for the LAN Turtle's Atheros architecture. For more complex builds using make files grab the OpenWRT SDK and reference the WiFi Pineapple build guide at http://wiki.wifipineapple.com/#!build_guide.md Additional further reading: http://wiki.openwrt.org/about/toolchain http://wiki.openwrt.org/doc/howto/buildroot.exigence http://wiki.openwrt.org/doc/howto/build http://wiki.openwrt.org/doc/devel/crosscompile http://wiki.openwrt.org/doc/howto/obtain.firmware.sdk 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.