- Notifications
You must be signed in to change notification settings - Fork0
Cdude1909/C2EFI
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A script designed to automate the process of compiling, testing, and creating bootable UEFI applications using the GNU-EFI library. It simplifies the workflow by integrating dynamic input, automated compilation, and optional testing in QEMU.
GCC
- Install using
sudo apt install gcc
in Debian/Ubuntu
- Install using
GNU-EFI Library:
- Install using your package manager (e.g.,
sudo apt install gnu-efi
on Debian/Ubuntu).
- Install using your package manager (e.g.,
QEMU (optional):
- For testing the application in a virtual environment.QEMU Install
Place your UEFI source file (e.g.,
main.c
) in the working directory.Run the script using:
sudo bash ./run.sh
Provide the following inputs when prompted:
- Path to the source
.c
file. - Paths to GNU-EFI libraries and headers.
- Note: It is always recommended to use
/usr/include/efi
as HeaderGNU-EFI wiki
- Path to the source
Finally, you will be prompted to live-run (test) .efi on QEMU
About
Convert .c to .efi in seconds and fire it up in QEMU for testing purpose!🔥