pe-file.c 446 B

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