Re: Trying to build x86 version on windows using meson

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Trying to build x86 version on windows using meson
Дата
Msg-id 20240320222057.p7low72xnihz6cn4@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: Trying to build x86 version on windows using meson  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Trying to build x86 version on windows using meson  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Hi,

On 2024-03-21 11:02:27 +1300, David Rowley wrote:
> On Thu, 21 Mar 2024 at 11:00, Andres Freund <andres@anarazel.de> 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Trying to build x86 version on windows using meson
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: [PATCH] Exponential backoff for auth_delay