Adding compiling capabilities to your DNS-323

Do away with the grueling task of setting up a cross compile environment just to compile that small application to run on the DNS-343/DNS-323/DNS-313. Or waiting anxiously for somebody to compile that particular software you have been eyeing sooooOOooo long? Native compiling is rather simple if you are using fonz’s fun_plug 0.5.

Well, I supposed you have got ffp 0.5 running on your NAS. Simply download the neccesary packages from here. The packages that you would need to do basic compiling are:

  • binutils
  • kernel-headers
  • uclibc
  • gcc
  • make
  • gettext
  • patch
  • bison
  • flex
  • autoconf
  • automake

Refer to the website; get the respective package; and install it. Below is an example for installing binutils.

/mnt/HD_a2 # wget
Connecting to (
binutils- 100% |*******************************|  4595k 00:00:00 ETA
/mnt/HD_a2/packages # funpkg -i binutils-
Installing package binutils- …

Repeat for the rest for the packages and try compiling the “Hello World” program!

Create a “test.cpp” with the following content

#include <iostream>
using namespace std;
int main() {
cout << “Hello world” << endl;
return 0;

Compile test.cpp using the following command

g++ test.cpp

and executing the binary (a.out)

Hello world

Have fun!


Treat shadowandy!

If these step-by-step guides have been very helpful to you and saved you a lot of time, please consider treating shadowandy to a cup of Starbucks.  

Comments are closed.