Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
siriushq/celftoefi ================== A cross-platform, single-binary translator of ELF static PIEs to PE/EFI. This is intended to be runnable on Linux, macOS, Windows, FreeBSD, OpenBSD and NetBSD on both amd64 and arm64 architectures, out-of-the-box. This uses APE (Actually Portable Executable) as provided by the Cosmpolitan libc project <https://www.cosmo.zip> under ISC. No Cosmpolitan-specific features are used, and this project can be built as-is with most C toolchains. building ======== Add the latest `celftoefi.com` release to your repository. Alternatively, build it yourself on an amd64 Linux machine (which can cross compile for all others supported) as follows: # Download the `cosmocc` compiler $ curl -LO https://cosmo.zip/pub/cosmocc/cosmocc.zip $ unzip cosmocc.zip # Invoke `cpdpmake.com` providing `CC` $ ./cpdpmake.com CC=./cosmocc/bin/cosmocc # Invoke it $ ./celftoefi.com