sgripon wrote:Ok. do you think compiling with something like scratchbox will work ?
:dontknow
I have no idea of that will work
via optware you can obtain a working compiler (gcc344 is to be preffered but will not work in all cases) and other dvelopment tools you will need like binutils.
ps Be aware that the the system partition is too small for installing a compiler. As such installing it in the /opt folder as it is present in the system directory is not possible. You need to replace the /opt folder by a sym link pointing to a folder on the big data partiton.
This can be done by renaming /opt to for example /opt-run create a new folder on the data partiton (or share by using the web interface, for instance with name opt1 and then make in the root files syetm a symlink (ln -s /share/1000/opt1 /opt)
To keep the nas working you will need to copy the current content of the /opt folder to this new folder including symlinks and correct file permission. You can do this by using the tar command to make an archive of the content of the /opt folder and unpack that in the new folder.
Now you are ready to use optware to install a compiler
If all this makes no sense to you then you need to do some studying first to understand the basics of optware and linux