English العربية Български Česky Dansk Deutsch Esperanto Eesti Español فارسی Suomi Français עברית Magyar Italiano 한국어 Nederlands Norsk (bokmål) Polski Português Română Русский Svenska Slovenčina Українська 中文(中国大陆) 中文(台灣) Euskara Català
A toolchain is a set of tools that allows you to compile code. For Openmoko, we have to differentiate between the following use-cases:
(a) Developing a single application (or a kernel or a bootloader) For this, you should use a prebuilt toolchain from the Openmoko project. On this page you can find a recipe to get started with this toolchain leading you through a series of steps to compile a project and run it on your target device. (You might have heard about OpenEmbedded, however as an application programmer, you should not be using OpenEmbedded.) (b) System Integration and customizing a distribution For this task, you should use OpenEmbedded which builds its own cross compiler during the bootstrapping/build process. System Integration and customizing a distribution is out of scope of this page. Basic toolchain usageYou should be reasonably familiar with Linux and its command line tools, have an x86-compatible computer with at least 1G of free disk space. You should have experience with compiling programs from source using your local compiler. The remainder of this document will also assume you have write access in your home directory (~) and /usr/local/ (becoming root if needed). If any of this is not the case, please call your local administrator for help.
Last but not least you should have a working setup that allows you to compile native software packages using the autotools build system (the triad of ./configure, make, make install).
A (partial) list of required packages -- please append as necessary:
Fedora-Core does not appear to have libmokoui2 available.
NOTE: If you wish to improve an existing Openmoko application and you are running Debian or Ubuntu i386 (i.e. you can install a .deb), you may wish to skip the below and instead use:
Openmoko application development in 5 minutes by Andreas Dalsgaard. (based on the 2007.2 stack)
The prebuilt toolchain can be downloaded from downloads.openmoko.org:
Be careful to download the correct version, you get problems later on. 32bit version should still be the default.
32bit
wget64bit
wgetNext, you want to extract it on your filesystem. This toolchain is not relocatable, it needs to be installed into /usr/local/openmoko/. Now you have the following options:
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-12004-1.html
也就是看是否属于无害通过