[PATCH v2] Fix install-strip for cross-compilation
Simon Marchi
simark@simark.ca
Tue Dec 31 18:50:00 GMT 2019
On 2019-12-31 1:42 p.m., Hannes Domani via gdb-patches wrote:
> The variable INSTALL_PROGRAM_ENV sets up STRIPPROG for the cross-compiler.
>
> If this is not done, the host 'strip' is used, and fails:
>
> /bin/sh /c/src/repos/binutils-gdb.git/install-sh -c -s gdb.exe \
> /gdb/gdb64-git/bin/$transformed_name.exe
> strip.exe:C:/gdb/gdb64-git/bin/_inst.33599_: file format not recognized
>
> With this change, it's fine:
>
> STRIPPROG='x86_64-w64-mingw32-strip' \
> /bin/sh /c/src/repos/binutils-gdb.git/install-sh -c -s gdb.exe \
> /gdb/gdb64-git/bin/$transformed_name.exe
Thanks for updating the change log, this LGTM. I believe you don't have write access
to the repo, is that right? Would you like me to push the patch on your behalf, or
would you like to get a write access (useful if you plan on sending patches regularly)?
Simon
More information about the Gdb-patches
mailing list