Remi Bernon | ed21d6d | 2020-08-21 18:52:38 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | // pe-file.exe and pe-file.exe.debug built with; |
| 4 | // x86_64-w64-mingw32-gcc -o pe-file.exe pe-file.c |
| 5 | // -Wl,--file-alignment,4096 -Wl,--build-id |
| 6 | // x86_64-w64-mingw32-objcopy --only-keep-debug |
| 7 | // --compress-debug-sections pe-file.exe pe-file.exe.debug |
| 8 | // x86_64-w64-mingw32-objcopy --strip-debug |
| 9 | // --add-gnu-debuglink=pe-file.exe.debug pe-file.exe |
| 10 | |
| 11 | int main(int argc, char const *argv[]) |
| 12 | { |
| 13 | return 0; |
| 14 | } |