pciutils是可以编译的,记得指定编译器是clang,directhw下载源代码后,打开那个Xcode工程,把几个选项从i386改到x86_64就可以了
发自我的 iPhone > 在 2015年7月19日,上午9:35,scateu <[email protected]> 写道: > > 用了现成的pciutils > > 自己编译DirectHW和pciutils未果.. > > >> 在 2015年7月19日,上午7:59,Christopher Meng <[email protected]> 写道: >> >> On Sat, Jul 18, 2015 at 10:03 PM, scateu <[email protected]> wrote: >>> 我的是Late 2013的 >>> >>> 详细的做法我写了一个简单的文档: >>> >>> http://scateu.me/2015/07/18/dump-mac-uefi.html >>> >>> 需要安装DirectHW和pcitools,然后打个patch >> >> 折腾到4点半,链接 flashrom 时始终无法找到 DirectHW Framework (PCILIBS += >> -framework IOKit -framework DirectHW)...路径我自己替换成实际的还是找不到... >> >> 但我那台机器被别人折腾次数太多了,许多路径可能都乱了...最后太困就睡了... >> >> 不知道你是自己编译的 pciutils 还是用了现成的? >> >> 其实 patch 可以不打,make 的时候直接加上 “WARNERROR=” 即可。 >> >> Yours sincerely, >> Christopher Meng >> >> http://cicku.me >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "TUNA 主邮件列表" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "TUNA 主邮件列表" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "TUNA 主邮件列表" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
