<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://gentoo-zh.org/extern.php?action=feed&amp;tid=16&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Gentoo中文社区 / Executable file formats / Emulations]]></title>
		<link>http://www.gentoo-zh.org/viewtopic.php?id=16</link>
		<description><![CDATA[Executable file formats / Emulations 最近发表的帖子。]]></description>
		<lastBuildDate>Wed, 03 Aug 2022 14:36:51 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Executable file formats / Emulations]]></title>
			<link>http://www.gentoo-zh.org/viewtopic.php?pid=16#p16</link>
			<description><![CDATA[<p>Executable file formats / Emulations<br />可执行文件格式/仿真</p><p>Kernel support for ELF binaries<br />CONFIG_BINFMT_ELF<br />&#160; &#160; ELF是最常用的跨平台二进制文件格式,支持动态连接,支持不同的硬件平台,支持不同的操作系统.<br />&#160; &#160; 必选,除非你知道自己在做什么.<br />&#160; &#160;<br />Write ELF core dumps with partial segments<br />CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS<br />&#160; &#160; 如果你打算在此Linux上开发应用程序或者帮助别人调试bug,那么就选&quot;Y&quot;,否则选&quot;N&quot;.<br />&#160; &#160; 注意这里的调试和开发不是指内核调试和开发,是应用程序的调试和开发.<br />&#160; &#160;<br />Kernel support for scripts starting with #!<br />CONFIG_BINFMT_SCRIPT<br />&#160; &#160; 支持以&quot;#!/path/to/interpreter&quot;行开头的脚本.务必&quot;Y&quot;,不要&quot;M&quot;或&quot;N&quot;,<br />&#160; &#160; 除非你知道自己在做什么.<br />&#160; &#160;<br />Kernel support for MISC binaries<br />CONFIG_BINFMT_MISC<br />&#160; &#160; 允许插入二进制封装层到内核中,运行Java,.NET(Mono-based),Python,<br />&#160; &#160; Emacs-Lisp等语言编写的程序时需要它,DOSEMU也需要它.想要更方便的使用此特性,<br />&#160; &#160; 你还需要使用&quot;mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc&quot;挂载binfmt_misc伪文件系统.<br />&#160; &#160; 具体详情可以参考&quot;Documentation/binfmt_misc.txt&quot;文档.<br />&#160; &#160;<br />Enable core dump support<br />CONFIG_COREDUMP<br />&#160; &#160; 核心转储(core dump)支持.如果你打算在此Linux上开发应用程序或者帮助别人调试bug,那么就选&quot;Y&quot;,否则选&quot;N&quot;.<br />&#160; &#160; 注意这里的调试和开发不是指内核调试和开发,是应用程序的调试和开发.<br />&#160; &#160;<br />IA32 Emulation<br />CONFIG_IA32_EMULATION<br />&#160; &#160; 允许在64位内核中运行32位代码.除非你打算使用纯64位环境,否则请开启此项.<br />&#160; &#160; 提示:GRUB2支持引导纯64位内核,但是GRUB不支持.<br />&#160; &#160; IA32 a.out support<br />&#160; &#160; CONFIG_IA32_AOUT<br />&#160; &#160; &#160; &#160; 早期UNIX系统的可执行文件格式(32位),目前已经被ELF格式取代.<br />&#160; &#160; &#160; &#160; 除非你需要使用古董级的二进制程序.否则请关闭.<br />x32 ABI for 64-bit mode<br />&#160; &#160; CONFIG_X86_X32<br />&#160; &#160; &#160; &#160; 允许32位程序使用完整的64位寄存器,以减小内存占用(memory footprint).<br />&#160; &#160; &#160; &#160; 这可以提高32位程序的运行性能.如果你使用binutils-2.22以上的版本(支持elf32_x86_64),就选&quot;Y&quot;,否则选&quot;N&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (batsom)]]></author>
			<pubDate>Wed, 03 Aug 2022 14:36:51 +0000</pubDate>
			<guid>http://www.gentoo-zh.org/viewtopic.php?pid=16#p16</guid>
		</item>
	</channel>
</rss>
