Re: Trying to build x86 version on windows using meson

From: Andres Freund <andres(at)anarazel(dot)de>
To: Dave Cramer <davecramer(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Trying to build x86 version on windows using meson
Date: 2024-03-20 22:00:08
Message-ID: 20240320220008.giyf56mdhxjelwtt@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2024-03-20 17:49:14 -0400, Dave Cramer wrote:
> On Wed, 20 Mar 2024 at 17:11, Andres Freund <andres(at)anarazel(dot)de> wrote:
> > On 2024-03-20 16:14:23 -0400, Dave Cramer wrote:
> > > I am getting the following error
> > >
> > > meson.build:1479:17: ERROR: Can not run test applications in this cross
> > > environment.
> > >
> > > Have configured for amd64_x86
> > >
> > > Running `meson setup --wipe build --prefix=c:\postgres86`
> >
> > This is not enough information to debug anything. At the very least we need
> > the exact steps performed to set up the build and meson-logs/meson-log.txt
> >
> 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.

>
> The last error from meson-log.txt is
>
> ...
> Checking if "c99" compiles: YES
>
> meson.build:1479:17: ERROR: Can not run test applications in this cross
> environment.
> ...

That's not the meson-log.txt that you attached though?

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2024-03-20 22:02:27 Re: Trying to build x86 version on windows using meson
Previous Message David Rowley 2024-03-20 21:57:34 Re: Flushing large data immediately in pqcomm