Editing Maemo软件开发工具包

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

Warning: This page is 40 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 78: Line 78:
''宿主工具''(''Host tools'')是宿主机环境下的原生程序,提供了最佳的可用性与性能。他们始终在目标环境外透明地执行。举例来说,宿主工具包含''开发工具''(''devkit'')与''工具链''(''toolchains'')。这些工具为目标架构创建可运行的二进制程序,
''宿主工具''(''Host tools'')是宿主机环境下的原生程序,提供了最佳的可用性与性能。他们始终在目标环境外透明地执行。举例来说,宿主工具包含''开发工具''(''devkit'')与''工具链''(''toolchains'')。这些工具为目标架构创建可运行的二进制程序,
-
''开发工具''(''devkit'')是一组开发工具,他们是宿主机系统下的原生程序。每个''开发工具''都可以针对某个目标环境单独启用。举例来说,doctool是一个开发工具,用来创建文档(类似doxygen),你可以在每个目标环境下单独启用/禁用该工具。
 
-
''工具链''(''toolchains'')提供了最基本的编译工具集合,每一个Scratchbox目标环境都必须指定一个工具链。工具链为目标环境创建,处理二进制文件。除了编译器(''gcc'')外,工具链还包括了一个链接器(''ld'')以及其他''二进制工具包''(''binutils''),例如''strip''(去除文件中的调试信息),''objdump''(二进制文件分析器)和''string''(显示文件中的可打印字符)。
+
一个工具链提供了最基本的编译工具集合,每一个Scratchbox目标环境都必须指定一个工具链。工具链为目标环境创建,处理二进制文件。除了编译器(''gcc'')外,工具链还包括了一个链接器(''ld'')以及其他''二进制工具包''(''binutils''),例如''strip''(去除文件中的调试信息),''objdump''(二进制文件分析器)和''string''(显示文件中的可打印字符)。
 +
 
''CPU译码器''(''CPU transparency methods'')提供了在模拟器中运行目标架构程序的能力。Maeomo SDK官方支持的宿主机系统是x86架构的Linux系统,而实际设备的cpu却可能是arm架构的。''CPU译码器''解决了在x86设备上运行arm程序的问题。用户可以在编译阶段,选择一个程序是为了宿主系统,还是目标系统(arm或是x86)编译。Maamo SDK包含的''开发工具''(''devkit'')中,一个名为''cputransp''的工具包提供了这一功能,这个工具包提供了完整的配置,并且会被默认选中安装。
''CPU译码器''(''CPU transparency methods'')提供了在模拟器中运行目标架构程序的能力。Maeomo SDK官方支持的宿主机系统是x86架构的Linux系统,而实际设备的cpu却可能是arm架构的。''CPU译码器''解决了在x86设备上运行arm程序的问题。用户可以在编译阶段,选择一个程序是为了宿主系统,还是目标系统(arm或是x86)编译。Maamo SDK包含的''开发工具''(''devkit'')中,一个名为''cputransp''的工具包提供了这一功能,这个工具包提供了完整的配置,并且会被默认选中安装。
-
''根文件系统包''''rootstrap'')包含了一个目标设备的根文件系统。Maemo SDK为每个目标环境(X86和ARMEL)各自提供了Scratchbox环境下的根文件系统包。需要提醒的是,两个目标环境的home目录是共享的。而''/tmp''目录同时在宿主机和两个目标环境间共享。
+
 
 +
A ''devkit'' is a collection of tools native to the host. A devkit can be selected or disabled for a target. An example of a devkit is the doctools devkit, which provides tools (like doxygen) for building documentation.
 +
 
 +
A ''rootstrap'' is a root file system for the target device. Maemo SDK provides root file systems for both targets (X86 and ARMEL) inside Scratchbox. Note that the user's home directory is shared for all targets. The ''/tmp'' directory is shared for all targets and also with the host.
大体上,Maemo SDK这样进行目标环境的配置。
大体上,Maemo SDK这样进行目标环境的配置。

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org 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 maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)