update instructions to build using only MSYS2 and debug using vscode #4129
FuPeiJiang
started this conversation in
Ideas
Replies: 1 comment
-
I wonder how this relates to (or competes with) https://github.com/git-for-windows/git/wiki/Building-Git? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
this should maybe be a PR instead
prerequisites:
pacman -S --needed base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb mingw-w64-x86_64-curl mingw-w64-x86_64-pcre2
build:
cmd.exe
git-sdk-64/
is 6.35 GBmsys64/
is 1.21 GBset MSYSTEM=MINGW64
and packagesmingw-w64-x86_64-curl
mingw-w64-x86_64-pcre2
were what were missing for medebugging:
I wasn't able to build using visual studio, but I was able to debug using vscode (gdb) so I'm fine
maybe add this to wiki/README too, next to visual studio
: you can debug using vscode (gdb), here is a sample launch.json config
Beta Was this translation helpful? Give feedback.
All reactions