Es gibt 2 Möglichkeiten, etwas für die DS zu kompilieren:
1] Variante auf einem Linux-PC. Hierfür ist das von Synology angebotene Tool-Chain da, damit man die Besonderheiten einer DS auch berücksichtigen kann. Also die Entwicklung findet auf einen Linux-PC statt; das Ergebnis wird danach auf die DS kopiert. Hat man deswegen gemacht, damit man auch für mehrere DSen sein Programm entwickeln kann, ohne dass man jede DS auch real haben muss (und weils auch schneller geht wegen den leistungsstärkeren PC-Prozessoren)
2] Variante ohne Tool-Chain(ohne Linux-PC ... Kompilieren auf der DS. Hierfür gibt es verschiedene IPKG-Pakete, die man auf er DS installieren muss. Ich habe z.B. die folgenden installiert (Auszug):
Rich (BBCode):
Synology> ipkg list_installed
autoconf - 2.61-2 -
automake - 1.10-2 - Creates GNU standards-compliant Makefiles from template files
bash - 3.2.33-1 -
binutils - 2.17-2 - The GNU assembler and linker and related tools
bison - 2.3-2 -
bzip2 - 1.0.5-1 - Very high-quality data compression program
coreutils - 7.2-1 -
diffutils - 2.8.1-6 - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files
expat - 2.0.1-1 - XML Parser library
file - 5.01-1 -
findutils - 4.2.32-1 - File finding utilities
flex - 2.5.35-1 - Generates programs that perform pattern-matching on text.
gawk - 3.1.6-1 -
gcc - 3.4.6-5 - The GNU Compiler Collection.
gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNI
X dbm routines.
glib - 2.16.6-1 -
gnutls - 2.6.4-1 -
grep - 2.5.3-1 - Global regular expression parser
groff - 1.19.2-2 - front-end for the groff document formatting system
gzip - 1.2.4a-3 - GNU Zip data compression program
less - 429-1 -
libart - 2.3.17-2 - 2-d graphics library.
libc-dev - 2.3.2-4 -
libdb - 4.2.52-3 - Berkeley DB Libraries
libgcrypt - 1.4.4-2 - GNU cryptography libray, needed by gnutls
libgmp - 4.2.3-1 -
libgpg-error - 1.7-1 - Error handling library for libgcrypt
libmad - 0.15.1b-4 - MPEG Audio Decoder library
libnsl - 2.3.2-4 - Network Services Library
libogg - 1.1.3-3 -
libpng - 1.2.36-1 -
libstdc++ - 6.0.3-6 - Standard C++ library, needed for dynamically linked C++ programs
libtasn1 - 1.5-1 -
libtool - 1.5.26-1 - Library tools.
libusb - 0.1.12-1 - Library for interfacing to the USB subsystem.
libvorbis - 1.1.2-5 -
libxml2 - 2.7.3-1 -
libxslt - 1.1.24-1 -
lsof - 4.81-1 -
m4 - 1.4.13-1 - gnu macro processor and compiler front end
make - 3.81-2 - examines files and runs commands necessary for compilation
man - 1.6f-1 - unix manual page reader
ncurses - 5.7-1 - NCurses libraries
ncursesw - 5.7-1 - NCurses libraries with wide char support.
openldap-libs - 2.3.43-1 - Open Lightweight Directory Access Protocol
openssl - 0.9.7m-5 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many ot
her applications and librari
optware-devel - 6.8-9 - This is a meta package that bundles all the packages required for optware native development.
patch - 2.5.9-3 - applies a diff to produce a patched file
pcre - 7.9-1 - Perl-compatible regular expression library
perl - 5.8.8-20 - Practical Extraction and Report Language.
pkgconfig - 0.15.0-1 - Package configuration tool
popt - 1.15-1 - A C library for parsing command line parameters.
psmisc - 21.4-1 - A set of some small useful utilities that use the proc filesystem.
psutils - p17-1 - Describe psutils here.
readline - 5.2-2 -
sed - 4.2-1 -
svn - 1.6.1-1 -
tar - 1.22-2 - heavyweight version of the Tape ARchiver
unrar - 3.8.5-1 -
unzip - 5.52-3 - A (de)compression library for the ZIP format
usbutils - 0.73-3 - USB enumeration utilities
util-linux - 2.12r-6 - A suite of essential utilities for any Linux system.
util-linux-ng - 2.14.2-1 -
zip - 2.32-1 - a compression and file packaging utility.
zlib - 1.2.3-3 - zlib is a library implementing the 'deflate' compression system.
Vermutlich braucht man aber nur ein paar von diese Paketen und wahrscheinlich muss man - je nach Projekt - noch die ein oder andere Library dazu installieren. Vielleicht hilft dir das schon weiter. Ansonsten: ich hab keine große Erfahrung mit dem Kompilieren auf der DS, weil ich alles nach Methode 1] bislang gemacht habe. Hab es nur mal für eine klitzekleines Programm nach Methode 2] gemacht ... das 'Hello World'-Programm ... um zu sehen, ob es auch wirklich geht.
Itari