public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: Dave Cramer <[email protected]>
To: Andres Freund <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: Trying to build x86 version on windows using meson
Date: Thu, 21 Mar 2024 08:56:53 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CADK3HH+D0O5A00vGsurCs_xu02F_ad2z6mTRk=6mEvWb5DK6Mw@mail.gmail.com>
References: <CADK3HHLRWj5pXZjLJNw-OHuak9mJ2gTFyB+RpzjNhu4G07kz6Q@mail.gmail.com>
	<[email protected]>
	<CADK3HH+D0O5A00vGsurCs_xu02F_ad2z6mTRk=6mEvWb5DK6Mw@mail.gmail.com>

On 20.03.24 22:49, Dave Cramer wrote:
> 
> 
> 
> On Wed, 20 Mar 2024 at 17:11, Andres Freund <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Hi,
> 
>     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
> 
> 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.
> ...

I have never tried this, but there are instructions for cross-compiling 
with meson: https://mesonbuild.com/Cross-compilation.html








view thread (5+ messages)

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