{"id":923,"date":"2011-10-13T17:40:49","date_gmt":"2011-10-13T09:40:49","guid":{"rendered":"http:\/\/kaoru.tech\/archives\/923"},"modified":"2011-10-13T17:40:49","modified_gmt":"2011-10-13T09:40:49","slug":"cross-compile-pciutils","status":"publish","type":"post","link":"http:\/\/kaoru.tech:7000\/wordpress\/?p=923","title":{"rendered":"Cross-compile pciutils"},"content":{"rendered":"<p>\u76ee\u524dbusybox\u7684lspci\u4e0d\u80fd\u663e\u793a\u8db3\u591f\u53ef\u7528\u7684\u4fe1\u606f\uff0c\u9700\u8981\u91cd\u65b0\u4ea4\u53c9\u7f16\u8bd1\u4e00\u4e2alspci\u3002<\/p>\n<p>\u4e0b\u8f7dpciutils\u6e90\u7801<\/p>\n<p>make<\/p>\n<p>\u4fee\u6539Makefile<\/p>\n<ul>\n<li>CROSS_COMPILE =&gt; ppc-linux-<\/li>\n<li>ZLIB =&gt; no<\/li>\n<li>DNS =&gt; no<\/li>\n<li>SHARED =&gt; no<\/li>\n<\/ul>\n<p>\u4fee\u6539lib\/config.h\u548clib\/config.mk<\/p>\n<p>\u6ce8\u91ca\u6389<\/p>\n<ul>\n<li>PCI_ARCH_I386<\/li>\n<li>PCI_HAVE_PM_INTEL_CONF<\/li>\n<li>PCI_HAVE_64BIT_ADDRESS<\/li>\n<\/ul>\n<p>\u5220\u6389lib\u4e0b\u9762\u6240\u6709\u7684.o\u6587\u4ef6<\/p>\n<p>\u91cd\u65b0make<\/p>\n<p>\u641e\u5b9a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u524dbusybox\u7684lspci\u4e0d\u80fd\u663e\u793a\u8db3\u591f\u53ef\u7528\u7684\u4fe1\u606f\uff0c\u9700\u8981\u91cd\u65b0\u4ea4\u53c9\u7f16\u8bd1\u4e00\u4e2alspci\u3002 \u4e0b\u8f7dpciutils\u6e90\u7801 make \u4fee\u6539Makefile CROSS_COMPILE =&gt; ppc-linux- ZLIB =&gt; no DNS =&gt; no SHARED =&gt; no \u4fee\u6539lib\/config.h\u548clib\/config.mk \u6ce8\u91ca\u6389 PCI_ARCH_I386 PCI_HAVE_PM_INTEL_CONF PCI_HAVE_64BIT_ADDRESS \u5220\u6389lib\u4e0b\u9762\u6240\u6709\u7684.o\u6587\u4ef6 \u91cd\u65b0make \u641e\u5b9a\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[16],"tags":[208,121],"class_list":["post-923","post","type-post","status-publish","format-standard","hentry","category-crosscompile","tag-crosscompile","tag-pciutils"],"_links":{"self":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=923"}],"version-history":[{"count":0,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/923\/revisions"}],"wp:attachment":[{"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=923"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kaoru.tech:7000\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}