Re: BUG #16825: When building on Windows, cl /? retrun 'x64' not AMD64 and the build does not create x64 environment

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
Cc: robionekenobi(at)bluewin(dot)ch, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16825: When building on Windows, cl /? retrun 'x64' not AMD64 and the build does not create x64 environment
Date: 2021-01-19 05:23:45
Message-ID: YAZs4aHEg+VVL0pP@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Jan 18, 2021 at 11:42:33PM +0100, Juan José Santamaría Flecha wrote:
> On Sun, Jan 17, 2021 at 7:22 PM <robionekenobi(at)bluewin(dot)ch> wrote:
> I guess 'cl' is interpreting "/?" as filename, not as option, when the
> current path is a ‘Subst Drive’. If you call 'cl /? foo' it works, and also
> if you create a one-letter named dummy file inside the ‘Subst Drive’.
>
> I would close this report noting that using a ‘Subst Drive’ is problematic
> anyhow, as other scripts might also fail when navigating the expected
> folder layout.

If you patch the scripts by changing the option used by the cl
command, are there cases where the installation able to complete when
using a subst driver? It seems to me that if things work could work
even in this case and result in a correct installation, then there is
an argument for making the MSVC scripts easier to use for the
end-user.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Juan José Santamaría Flecha 2021-01-19 08:31:22 Re: BUG #16825: When building on Windows, cl /? retrun 'x64' not AMD64 and the build does not create x64 environment
Previous Message Juan José Santamaría Flecha 2021-01-18 22:51:40 Re: BUG #16829: Postgresql-12 service is not starting with SSL enabled in centos 7