efi-clang:使用Clang编译器和LLD链接器构建UEFI应用程序

时间:2021-05-07 21:00:58
【文件属性】:
文件名称:efi-clang:使用Clang编译器和LLD链接器构建UEFI应用程序
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-07 21:00:58
clang uefi efi lld C++ 埃菲朗 使用Clang编译器和LLD链接器构建UEFI应用程序。 当然,您需要安装它们。 我用Clang v.0.0.0进行了测试。 我使用Arch Linux,因此安装了pacman -S clang lld 。 这使用了我的(作为子模块包含在内)。 克隆此git submodule update --init后,您需要执行以下操作: git submodule update --init将其拉入。 接下来,收集EFI设置的拓扑。 对驱动器进行分区时,我做了几个Linux分区,然后又做了一个EFI系统分区。 它用fat32格式化,我安装了systemd-boot(一个不好的选择)。 我为Arch Linux内核创建了一个arch目录,并创建了一个包含shellx64_v2.efi(可以从获得的EFI shell)的应用程序目录。 我设置了systemd-boot的菜单,因此可以在启动时
【文件预览】:
efi-clang-master
----.gitignore(18B)
----hello-c.c(370B)
----LICENSE(1KB)
----memmap.c(5KB)
----efi()
----.gitmodules(71B)
----README.md(7KB)
----types.inc(687B)
----makefile(868B)
----hello-fasm.asm(998B)
----efi.inc(7KB)

网友评论