forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
(Using the Git for Windows SDK)
$ git --version --build-options
git version 2.30.0.windows.1
cpu: x86_64
built from commit: 18da6dbba950f8cc7b7d07057f7c30bf7cf207b6
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.19042.685]
- What options did you set as part of the installation? Or did you choose the
defaults?
N/A, using Git SDK 64
- Any other interesting things about your environment that might be related
to the issue you're seeing?
N/A
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
Git SDK Bash
- What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
As part of the Git for Windows arm64 work (see #2346 (comment) for details), I'm trying to build mingw32 and then overwrite some executables by native arm64 executables, by following the steps outlined here: #2915 (comment)
cd /usr/src/git
mkdir -p contrib/buildsystems/out
cd contrib/buildsystems/out
cmake ../ -DCMAKE_GENERATOR_PLATFORM=arm64 -DVCPKG_ARCH=arm64-windows -DCMAKE_INSTALL_PREFIX="C:\gitbuild"
# Build the Git executables
msbuild git.sln -property:Configuration=Release
# Link the Git executables
msbuild INSTALL.vcxproj -property:Configuration=Release
- What did you expect to occur after running these commands?
I expected the generated executables in C:\gitbuild\libexec\git-core to end with .exe.
- What actually happened instead?
Many generated executables end with .exe.exe:
This can also be seen in cmake_install.cmake:
Not sure what is causing this behavior and how I can fix it. Does anyone have any pointers as to what this might be?
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

