public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andres Freund <[email protected]>
To: David Rowley <[email protected]>
Cc: Dave Cramer <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: Trying to build x86 version on windows using meson
Date: Wed, 20 Mar 2024 15:20:57 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAApHDvo417naTd+fzZF87XLuC=_ed1567+-5d1v5gAe2VyLD6Q@mail.gmail.com>
References: <CADK3HHLRWj5pXZjLJNw-OHuak9mJ2gTFyB+RpzjNhu4G07kz6Q@mail.gmail.com>
	<[email protected]>
	<CADK3HH+D0O5A00vGsurCs_xu02F_ad2z6mTRk=6mEvWb5DK6Mw@mail.gmail.com>
	<[email protected]>
	<CAApHDvo417naTd+fzZF87XLuC=_ed1567+-5d1v5gAe2VyLD6Q@mail.gmail.com>

Hi,

On 2024-03-21 11:02:27 +1300, David Rowley wrote:
> On Thu, 21 Mar 2024 at 11:00, Andres Freund <[email protected]> wrote:
> >
> > On 2024-03-20 17:49:14 -0400, Dave Cramer wrote:
> > > First off this is on an ARM64 machine
> >
> > Uh, that's a fairly crucial bit - you're actually trying to cross compile
> > then.  I don't know much about cross compiling on windows, so it's certainly
> > possible there's still some gaps there.
> 
> How would initdb.exe / pg_regress.exe even run on the x86 build
> machine if it's compiled for ARM?

I think this is building on an ARM64 host, targeting 32bit x86.

Obviously tests can't run in that environment, but building should be
possible. I can e.g. build postgres for x86-64 windows on my linux machine,
but can't run the tests (in theory they could be run with wine, but wine isn't
complete enough to run postgres).

Greetings,

Andres Freund






view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Trying to build x86 version on windows using meson
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox