[PATCH 29/31] doc: Show how to build sandbox for MSYS2
Heinrich Schuchardt
xypron.glpk at gmx.de
Tue Apr 25 05:12:04 CEST 2023
Am 25. April 2023 05:01:30 MESZ schrieb Bin Meng <bmeng.cn at gmail.com>:
>On Tue, Apr 25, 2023 at 10:54 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>>
>>
>>
>> Am 25. April 2023 01:08:34 MESZ schrieb Simon Glass <sjg at chromium.org>:
>> >Add instructions for building u-boot.exe to run on Windows.
>> >
>> >Signed-off-by: Simon Glass <sjg at chromium.org>
>> >---
>> >
>> > doc/build/gcc.rst | 35 +++++++++++++++++++++++++++++++++++
>> > 1 file changed, 35 insertions(+)
>> >
>> >diff --git a/doc/build/gcc.rst b/doc/build/gcc.rst
>> >index a0650a51db4b..40d0bde52413 100644
>> >--- a/doc/build/gcc.rst
>> >+++ b/doc/build/gcc.rst
>> >@@ -184,8 +184,43 @@ Important ones are
>> > * clean - remove most generated files but keep the configuration
>> > * mrproper - remove all generated files + config + various backup files
>> >
>> >+Building for Windows
>> >+--------------------
>>
>> Do you mean 'on Windows'?
>>
>> >+
>> >+Limited support is available for Windows, including building sandbox.
>> >+
>> >+It is best to use an out-of-tree build, so you can build multiple boards,
>> >+with the output in a temporary directory like `/tmp/b`.
>>
>> This chapter sems not to be about building on Windows generally. Are you possibly using MinGW or MinGW-w64? How about cygwin?
>
>The toolchain in the MSYS2 env should be MinGW-w64. cygwin is not for
>native Windows application build.
>
This patch is incomplete.
>>
>> Please, describe the build environment accurately.
>>
>> Wouldn't it be a much saner approach to use WSL? Then we don't need any of the quirks.
>>
>
>WSL is essentially Linux and that's not what Simon wanted to do in
>this series. Building sandbox under WSL is no different from what it
>is on a Linux machine.
That is why the motivation for this series remains unclear.
Best regards
Heinrich
>
>Regards,
>Bin
More information about the U-Boot
mailing list