有两种创建自定义映像的方式:静态与动态。
There are two ways of creating a custom image: static and dynamic.
不应该也不可能把这类配置静态地放在映像中,但是这并不意味着不应该尝试解决此问题。
You either should not or cannot burn this kind of configuration statically into the image, but that doesn't mean you should not attempt to account for it.
数据段映射了程序二进制映像中源代码给出静态变量初值的部分。
It maps the part of the program's binary image that contains the initial static values given in source code.
静态方式包括创建实例、进行自定义、以及从该自定义实例获取映像。
The static way consists of creating an instance, customizing it, and then taking an image from this customized instance.
在这个例子中,busybox映像是静态链接的,因此它不需要其他库。
In this example, the BusyBox image is statically linked so that no libraries are required.
永远不要编译为静态二进制文件(这会将所有需要的库都包含到映像文件中)。
Never build as a static binary (which includes all needed libraries in the image).
由于两份可执行映像各自的静态数据成员并未同步,这个行为就可能导致访问违例,或者数据看起来似乎丢失或被破坏了。
Since the static data members in the executable images arenot in sync, this action could result in an access violation or data may appearto be lost or corrupted.
相反地,每一个使用静态连结程序库建置的应用程序,会将程序库码以不同的复本连结至其可执行档映像。
In contrast, each application built with a static link library has the library code linked into its executable image as a separate copy.
相反地,每一个使用静态连结程序库建置的应用程序,会将程序库码以不同的复本连结至其可执行档映像。
In contrast, each application built with a static link library has the library code linked into its executable image as a separate copy.
应用推荐