view · edit · print · history

Can I write and compile code directly on the NSLU2?


a success on 10/28/2011 http://www.nslu2-linux.org/wiki/HowTo/TransmissionCompileBuild

Yes! See NativeNSLU2Toolchain to set up a development environment on your Unslung NSLU2, and see BuildGNUMakeOnYourNSLU2Box, MakeGNUGawkOnYourNSLU2Box, and MakeThttpdOnYourNSLU2Box for examples of doing this.

In case configure scripts for your application think that c++ is a cross compiler type two below lines before running ./configure

 bash-3.2# LD_LIBRARY_PATH=/opt/lib
 bash-3.2# export LD_LIBRARY_PATH

(above is to resolve "Checking whether the C++ compiler (c++ ) is a cross-compiler ... yes" issue)

view · edit · print · history · Last edited by SRS.
Based on work by belunch.
Originally by tman.
Page last modified on October 28, 2011, at 07:41 PM