^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) // pe-file.exe and pe-file.exe.debug built with;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) // x86_64-w64-mingw32-gcc -o pe-file.exe pe-file.c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) // -Wl,--file-alignment,4096 -Wl,--build-id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) // x86_64-w64-mingw32-objcopy --only-keep-debug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) // --compress-debug-sections pe-file.exe pe-file.exe.debug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) // x86_64-w64-mingw32-objcopy --strip-debug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) // --add-gnu-debuglink=pe-file.exe.debug pe-file.exe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) int main(int argc, char const *argv[])
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) }