Editing
Overview on modifying the Synology Server, bootstrap, ipkg etc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Toolchain==== A Toolchain is a set of tools that allows programmers to compile programs for target systems, in our case the Synology Servers. You can now compile source code applications directly on the Synology Server. First install '''ipkg''' using the [ [[Overview_on_modifying_the_Synology_Server%2C_bootstrap%2C_ipkg_etc#Bootstrap|Bootstrap]] ]. Now you can log into the command line and install all the tools necessary to perform local builds in one step: <pre>cs407> ipkg install optware-devel</pre> When performing local builds remember that by default '''./configure''' will set up the build to install to '''/usr/bin''' etc whereas it is sensible to make it install into the '''/opt''' root. Generally you can just get away with doing this: <pre>cs407> ./configure --prefix=/opt</pre>however, unfortunately, other command switches and flags may be needed (see ./configure --help). If you do want to create your own ipkg packages, these need to be created using cross-compilation. See [http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware]
Summary:
Please note that all contributions to wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information